Skip to content

Commit

Permalink
Added coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Hui committed Feb 23, 2023
1 parent b66bf7b commit 8ff8743
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,17 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install pytest coverage
pip install .
- name: Test
run: |
python -m pytest tests/
coverage run -m pytest tests/
- name: Generate Report
run: |
coverage html
- name: Upload report
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: |
htmlcov/*

0 comments on commit 8ff8743

Please sign in to comment.