Skip to content

Commit

Permalink
Remove silliness with two separate CI runs
Browse files Browse the repository at this point in the history
Was previously there because DJRF required pytz
  • Loading branch information
mfogel committed Jul 6, 2024
1 parent 4a9b37a commit 2ee2d10
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,17 +155,7 @@ jobs:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
run: poetry run pytest --cov=timezone_field --ignore=tests/test_serializer_field.py

- name: Test serializer fiels with coverage
if: matrix.tz-engine == 'pytz'
env:
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
run: poetry run pytest --cov=timezone_field tests/test_serializer_field.py
run: poetry run pytest --cov=timezone_field

- name: Generate coverage report
run: poetry run coverage xml
Expand Down

0 comments on commit 2ee2d10

Please sign in to comment.