From 542da918e90bbabb593a79a02a7d09918c56eb4f Mon Sep 17 00:00:00 2001 From: Roland Guichard Date: Thu, 5 Dec 2024 13:43:56 +0000 Subject: [PATCH] Attempt not to commit coverage reports. --- .github/workflows/test_fast.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test_fast.yml b/.github/workflows/test_fast.yml index 29e4d04d..b29e2a36 100644 --- a/.github/workflows/test_fast.yml +++ b/.github/workflows/test_fast.yml @@ -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 "actions@github.com" - 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 "actions@github.com" + # 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