Skip to content

Run server tests with pytest #1

Run server tests with pytest

Run server tests with pytest #1

Workflow file for this run

name: Run server tests with pytest
on:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install requirements
run: |
pip install --upgrade pip
pip install setuptools
pip install -r src/server/requirements.txt
pip install -r test/server/requirements-pytest.txt
- name: Install uv (Python package manager)
run: |
pip install uv
uv --version
- name: Run pytest with --clean
working-directory: ./test/server
run: pytest --clean