tests: rework tests and fixes bugs along the way

This commit is contained in:
Mathieu Virbel
2023-08-01 16:05:48 +02:00
parent bc55cfdea3
commit 1f8e4200fd
9 changed files with 126 additions and 54 deletions

View File

@@ -39,7 +39,7 @@ jobs:
cd server
poetry run python -m pytest -v tests
pep8:
formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
@@ -53,6 +53,20 @@ jobs:
cd server
black --check reflector tests
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.x
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Validate formatting
run: |
pip install ruff
cd server
ruff reflector tests
docker:
runs-on: ubuntu-latest
steps: