Skip to content

Commit

Permalink
Merge pull request #18 from Never-Over/add-tests-to-ci
Browse files Browse the repository at this point in the history
Add unit tests to CI
  • Loading branch information
emdoyle authored Apr 15, 2024
2 parents 111a000 + 2017196 commit da61d2c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: |
python -m pip install uv
uv venv
uv pip install ruff pytest coverage pyright django-stubs
uv pip install ruff pytest pytest-mock coverage pyright django-stubs
uv pip install .
- name: Check ruff
run: |
Expand All @@ -49,3 +49,7 @@ jobs:
coverage run --branch --source=../../../ ./manage.py check
coverage report
cd ../../../
- name: Run tests
run: |
source .venv/bin/activate
pytest -s -vv

0 comments on commit da61d2c

Please sign in to comment.