Skip to content

Commit

Permalink
Run pytest on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
anarute committed Oct 11, 2023
1 parent f9d6de1 commit 19f6349
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ jobs:
run: docker exec -t phpreport-api tox -e flake8
- name: Run black check
run: docker exec -t phpreport-api tox -e black
- name: Run API tests
run: docker exec -t phpreport-api tox -e pytest
- name: Run jest
run: docker exec -t phpreport-frontend npm run test
2 changes: 2 additions & 0 deletions api/pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[pytest]
pythonpath = .

0 comments on commit 19f6349

Please sign in to comment.