Skip to content

Commit

Permalink
Attempt not to commit coverage reports.
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandMacDoland committed Dec 5, 2024
1 parent af176ee commit 542da91
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/test_fast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@ jobs:
- name: Run fast tests
run: |
hatch -v run test -m "not slow"
- name: Commit and push coverage JSON to GitHub pages
if: matrix.python-version == '3.11' # Only run for Python 3.11
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git fetch origin gh-pages
git checkout -f gh-pages origin/gh-pages
# git checkout ${{ github.ref_name }}
# git pull origin coverage --rebase
git add coverage.json
git commit -m "Update coverage badge"
git push origin gh-pages
# - name: Commit and push coverage JSON to GitHub pages
# if: matrix.python-version == '3.11' # Only run for Python 3.11
# run: |
# git config --global user.name "GitHub Actions"
# git config --global user.email "[email protected]"
# git fetch origin gh-pages
# git checkout -f gh-pages origin/gh-pages
# # git checkout ${{ github.ref_name }}
# # git pull origin coverage --rebase
# git add coverage.json
# git commit -m "Update coverage badge"
# git push origin gh-pages

publish:
name: Publish to PyPI
Expand Down

0 comments on commit 542da91

Please sign in to comment.