Retry published-package smoke installs #20
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: ci | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install package and dev dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e .[dev] | |
| - name: Ruff | |
| run: ruff check src tests | |
| - name: Mypy | |
| run: mypy src | |
| - name: Pytest | |
| run: pytest --cov=src/debugbundle --cov-report=term-missing --cov-report=json:coverage.json -q | |
| - name: Enforce per-file coverage | |
| run: python scripts/check_coverage.py coverage.json | |
| - name: Build package | |
| run: python -m build | |
| - name: App-driven smoke test | |
| run: make smoke |