Skip to content

Commit

Permalink
remove old conditions in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Mar 7, 2025
1 parent 77d2600 commit f3ba6f4
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,7 @@ jobs:
run: |
# Run tests for sample app used for testing extensibility
PYTHONPATH="." MANAGE_PY_PATH="demo/manage.py" SAMPLE_APP=1 demo/manage.py test example
case "${{ matrix.DJANGO_VERSION }},${{ matrix.python-version }}" in
4.0.*,3.8|4.0.*,3.9|4.0.*,3.10) # Django runs with warnings in this python version
PYTHONPATH="." MANAGE_PY_PATH="demo/manage.py" coverage run demo/manage.py test plans
;;
*)
PYTHONPATH="." MANAGE_PY_PATH="demo/manage.py" PYTHONWARNINGS="error::DeprecationWarning" coverage run demo/manage.py test plans
;;
esac
PYTHONPATH="." MANAGE_PY_PATH="demo/manage.py" PYTHONWARNINGS="error::DeprecationWarning" coverage run demo/manage.py test plans
coverage xml && codecov
env:
POSTGRES_HOST: postgres
Expand Down

0 comments on commit f3ba6f4

Please sign in to comment.