Skip to content

Commit

Permalink
xdist auto
Browse files Browse the repository at this point in the history
  • Loading branch information
austinorr committed Nov 6, 2023
1 parent d25cbcf commit 8056393
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: pip install -r nereid/requirements/requirements_dev.txt
- name: Run Tests
run: |
pytest nereid/nereid/tests/test_src -v -n 2 --cov=nereid/nereid/src
pytest nereid/nereid/tests/test_src -v -n auto --cov=nereid/nereid/src
coverage report -m --omit=*test* --fail-under=100
python-test-install:
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Run Tests
run: |
pip install .[test]
pytest nereid/nereid/tests/test_src -v -n 2
pytest nereid/nereid/tests/test_src -v -n auto
python-edge-test:
runs-on: ubuntu-latest
Expand All @@ -67,7 +67,7 @@ jobs:
- name: Run Edge Tests
continue-on-error: true
run: |
pytest nereid/nereid/tests -xv -n 2
pytest nereid/nereid/tests -xv -n auto
- name: Exit
run: exit 0

Expand All @@ -85,8 +85,8 @@ jobs:
- name: run docker coverage
run: |
docker compose exec -T nereid-tests pytest nereid/tests -s -n 2 --cov=nereid/
docker compose exec -T nereid-tests pytest nereid/tests/test_api -s -n 2 --cov=nereid/ --cov-append --async
docker compose exec -T nereid-tests pytest nereid/tests -s -n auto --cov=nereid/
docker compose exec -T nereid-tests pytest nereid/tests/test_api -s -n auto --cov=nereid/ --cov-append --async
docker compose exec -T nereid-tests coverage report -m
docker compose exec -T nereid-tests coverage xml
docker compose exec -T nereid-tests cat coverage.xml > ./nereid/coverage.xml
Expand All @@ -109,6 +109,6 @@ jobs:
make init-test
- name: run edge tests
continue-on-error: true
run: docker compose exec -T nereid-tests pytest -v -n 2
run: docker compose exec -T nereid-tests pytest -v -n auto
- name: Exit
run: exit 0

0 comments on commit 8056393

Please sign in to comment.