Skip to content

Commit

Permalink
Use upload artifact v4 and upload html
Browse files Browse the repository at this point in the history
  • Loading branch information
zacdezgeo committed Jan 3, 2025
1 parent 314086f commit 22a8aee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ jobs:
python3 -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: pre-commit
- name: Run pre-commit checks
run: |
pre-commit run --all-files
- name: Run tests with coverage
run: |
python -m pytest --cov=. --cov-report=xml --cov-report=term-missing test/
python -m pytest --cov=. --cov-report=html --cov-report=term-missing test/
- name: Upload coverage report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage.xml
path: htmlcov/

0 comments on commit 22a8aee

Please sign in to comment.