docs: expand troubleshooting with common scaffold failures (#285) #361
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: Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| schedule: | |
| # Twice daily (CNA parity) — catch upstream/catalog regressions. | |
| - cron: "31 1,12 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.draft == false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Checkout cpa-templates | |
| uses: actions/checkout@v7 | |
| with: | |
| repository: Create-Python-App/cpa-templates | |
| path: cpa-templates | |
| - uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version-file: .python-version | |
| - run: uv sync --group dev | |
| - name: Run tests | |
| env: | |
| CPA_TEMPLATES_ROOT: ${{ github.workspace }}/cpa-templates | |
| run: uv run pytest --cov --cov-report=term-missing |