Skip to content

Commit

Permalink
Run coverage during tests action
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-f-cruz committed Oct 28, 2024
1 parent 878d305 commit 758d1f1
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ jobs:
run: ruff check . --config .\pyproject.toml
- name: Run codespell
run : codespell .
- name: Run tests and coverage
run: |
coverage run -m unittest discover
coverage report --rcfile=.\pyproject.toml

tests:
runs-on: windows-latest
Expand All @@ -40,6 +36,8 @@ jobs:

- name: Install dependencies
run: |
python -m pip install -e .[aind-services] --no-cache-dir
- name: Run tests
run: python -m unittest
python -m pip install -e .[dev] --no-cache-dir
- name: Run tests & coverage
run: |
coverage run -m unittest discover
coverage report

0 comments on commit 758d1f1

Please sign in to comment.