Skip to content

Rename main to server (#5) #7

Rename main to server (#5)

Rename main to server (#5) #7

Workflow file for this run

name: Unit tests
on:
pull_request:
push:
branches:
- main
jobs:
unittest:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- run:
sudo apt-get update && sudo apt-get install -y python3-pip && sudo pip3 install uv
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: uv sync --group dev
- name: Run unit tests
run: uv run pytest tests