Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
radekholy24 committed Mar 19, 2024
1 parent 3ed4575 commit b1f8672
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,16 @@ 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
2.2.*,3.7|3.0.*,3.7|3.1.*,3.7|3.2.*,3.7|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
# TODO: Work around https://github.com/SmileyChris/django-countries/issues/442
#case "${{ matrix.DJANGO_VERSION }},${{ matrix.python-version }}" in
# 2.2.*,3.7|3.0.*,3.7|3.1.*,3.7|3.2.*,3.7|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" coverage run demo/manage.py test plans
coverage xml && codecov
env:
POSTGRES_HOST: postgres
Expand Down

0 comments on commit b1f8672

Please sign in to comment.