Skip to content

Commit

Permalink
GH CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sayanarijit committed Dec 19, 2023
1 parent 217c960 commit 17fb7ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ jobs:
cache-dependency-path: "**/requirements_dev.txt"
- name: Run tests
run: |
export SETTINGS_DIR=.
pip install -r requirements_dev.txt
gunicorn tests.service:__hug_wsgi__ -D
pre-commit run --all-files
nosetests -sxv tests
uvicorn fastapi_tests.service:app --port 5000 &
# pre-commit run --all-files TODO: check what's wrong in CI
pytest tests
pytest fastapi_tests
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Tips
To run a subset of tests::


$ python -m unittest tests.test_apphelpers
$ pytest ./tests/test_rest.py

Deploying
---------
Expand Down

0 comments on commit 17fb7ff

Please sign in to comment.