Skip to content

Commit

Permalink
fixed coverage and commit update in .yml file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chezka109 committed Nov 21, 2024
1 parent b5000b4 commit 65bafee
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ jobs:
- name: Run Tests
run: |
poetry run task test-not-fuzz
# Run the tests and coverage
# Run coverage
- name: Run Coverage
run: pytest --cov=. --cov-report=term
# Run the tests and update badges
- name: Run Tests and Update Badges
run: poetry run python scripts/badges.py
# Generate badges
Expand All @@ -84,7 +87,8 @@ jobs:
run: |
git config --global user.name "github-actions"
git config --global user.email "[email protected]"
git checkout main # Ensure you're on the main branch
git add README.md
git commit -m "Update badges in README.md" || echo "No changes to commit"
git push
git push origin main

0 comments on commit 65bafee

Please sign in to comment.