update to zensical #384
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |