Skip to content

Commit

Permalink
test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Vepricov committed Nov 21, 2024
1 parent 50f2a9e commit 34eb1a8
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,14 @@ jobs:
- name: Testing
run: |
PYTHONPATH=src/ pytest tests/ --cov=relaxit --cov-report=xml
- name: Upload to Codecov
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
# token: ${{secrets.CODECOV_TOKEN}}
version: "v0.1.15"
fail_ci_if_error: false
verbose: true
- name: Generate coverage badge
run: |
python src/badge_generator.py
- name: Commit coverage badge
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add coverage-badge.svg
git commit -m "Update coverage badge"
git push

0 comments on commit 34eb1a8

Please sign in to comment.