Skip to content

Commit

Permalink
Invoke pytest through python
Browse files Browse the repository at this point in the history
  • Loading branch information
zacdezgeo committed Sep 10, 2024
1 parent a27311c commit 3643694
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,12 @@ jobs:
- name: Run tests
working-directory: ./space2stats_api/
run: |
poetry run pytest src/tests -s -vv
poetry run python -m pytest src/tests
env:
PGHOST: localhost
PGPORT: 5432
PGDATABASE: mydatabase
PGUSER: myuser
PGPASSWORD: mypassword
PGTABLENAME: space2stats
S3_BUCKET_NAME: test-bucket
PYTHONPATH: ./space2stats_api/src # Add this line
S3_BUCKET_NAME: test-bucket

0 comments on commit 3643694

Please sign in to comment.