Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 0 additions & 52 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,55 +113,3 @@ jobs:
echo "Required jobs failed: lint=${{ needs.lint.result }}, test=${{ needs.test.result }}"
exit 1
fi

coverage-badge:
needs: test
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
contents: write
timeout-minutes: 5
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install coverage
run: pip install "coverage[toml]"

- name: Download fast coverage data
uses: actions/download-artifact@v4
with:
name: coverage-data-fast
path: cov-fast

- name: Download slow coverage data
uses: actions/download-artifact@v4
with:
name: coverage-data-slow
path: cov-slow

- name: Combine coverage and generate JSON
run: |
cp cov-fast/.coverage .coverage.fast
cp cov-slow/.coverage .coverage.slow
coverage combine .coverage.fast .coverage.slow
coverage json -o coverage.json --include="src/*"

- name: Update coverage.json and push
run: |
if [ -f coverage.json ]; then
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add coverage.json
if git diff --cached --quiet; then
echo "No coverage changes to commit"
else
git commit -m "chore: update coverage.json [skip ci]"
git pull --rebase
git push
fi
fi
4 changes: 0 additions & 4 deletions .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ jobs:
run: |
npm run docs:build

- name: Check changelog policy
run: |
python scripts/check_changelog_policy.py

- name: Check release consistency
run: |
python scripts/check_release_consistency.py
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
semantic-release version --push
semantic-release version --no-commit --push
semantic-release publish
Loading
Loading