Plugin seams, the catalog, Mermaid diagrams — and a quality pass over all three #3
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] | |
| # Every pull request, whatever its base. Filtering on `branches: [main]` | |
| # meant a PR stacked on another branch got no CI at all, which is exactly | |
| # when you most want it -- the stacked change is the one nobody has run. | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install package with dev dependencies | |
| run: pip install -e ".[dev]" | |
| - name: Run pytest | |
| run: python -m pytest --cov=drydock --cov-report=term-missing | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} |