Skip to content

Add comprehensive edge case, race condition, and boundary tests #12

Add comprehensive edge case, race condition, and boundary tests

Add comprehensive edge case, race condition, and boundary tests #12

name: Update README Badges
on:
push:
branches: [main]
paths:
- "src/**"
- "tests/**"
- "pyproject.toml"
workflow_dispatch:
permissions:
contents: write
jobs:
update-badges:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Update README badges
run: python scripts/update_readme_badges.py
- name: Check for changes
id: changes
run: |
git diff --quiet README.md && echo "changed=false" >> "$GITHUB_OUTPUT" || echo "changed=true" >> "$GITHUB_OUTPUT"
- name: Commit and push
if: steps.changes.outputs.changed == 'true'
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add README.md
git commit -m "chore: update README badges [skip ci]"
git push