-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed coverage and commit update in .yml file.
- Loading branch information
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||