Skip to content

Commit

Permalink
Merge pull request #44 from ikalnytskyi/chore/test-requirements
Browse files Browse the repository at this point in the history
Move tests and their dependencies to 'tests/'
  • Loading branch information
ikalnytskyi authored Aug 19, 2024
2 parents 4a2dab2 + 211228f commit 079b073
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:

- name: Run tests
run: |
python3 -m pip install --upgrade pip pytest psycopg furl cryptography
python3 -m pytest -vv test_action.py
python3 -m pip install -r tests/requirements.txt
python3 -m pytest -vv tests/test_action.py
env:
CONNECTION_URI: ${{ steps.postgres.outputs.connection-uri }}
SERVICE_NAME: ${{ steps.postgres.outputs.service-name }}
Expand Down Expand Up @@ -88,8 +88,8 @@ jobs:

- name: Run tests
run: |
python3 -m pip install --upgrade pip pytest psycopg furl cryptography
python3 -m pytest -vv test_action.py
python3 -m pip install -r tests/requirements.txt
python3 -m pytest -vv tests/test_action.py
env:
CONNECTION_URI: ${{ steps.postgres.outputs.connection-uri }}
SERVICE_NAME: ${{ steps.postgres.outputs.service-name }}
Expand Down
4 changes: 4 additions & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cryptography
furl
psycopg
pytest
File renamed without changes.

0 comments on commit 079b073

Please sign in to comment.