Skip to content

Bump https://github.com/astral-sh/ruff-pre-commit from v0.16.3 to 0.1… #383

Bump https://github.com/astral-sh/ruff-pre-commit from v0.16.3 to 0.1…

Bump https://github.com/astral-sh/ruff-pre-commit from v0.16.3 to 0.1… #383

Workflow file for this run

name: qaqc
on:
pull_request:
push:
branches: [main]
jobs:
tests:
name: pytest
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v7
with:
python-version: "3.14"
- name: Setup uv
uses: astral-sh/setup-uv@v10.0.1
- name: Test
run: |
uv run pytest
# - name: Build badge
# if: ${{ github.event.pull_request.merged == true }}
# run: |
# uv run coverage-badge -f -o docs/assets/badges/coverage.svg
# echo '<!-- timestamp: '"$(date '+%Y-%m-%d %H:%M:%S')"' -->' >> docs/assets/badges/coverage.svg
# git config user.name "${{ github.actor }}"
# git config user.email "${{ github.actor }}@users.noreply.github.com"
# git add docs/assets/badges/coverage.svg
# git commit -m "Updated coverage badge"
# git push origin main