mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
tests: rework tests and fixes bugs along the way
This commit is contained in:
16
.github/workflows/test_server.yml
vendored
16
.github/workflows/test_server.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user