docs(README): clarify quickstart from end-to-end verification #25
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: test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| lint-and-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v3 | |
| with: | |
| enable-cache: true | |
| - name: Install package and dev dependencies (frozen lockfile) | |
| run: | | |
| uv sync --frozen --extra dev | |
| - name: Lint (ruff) | |
| run: uv run ruff check src tests | |
| - name: Type check (mypy) | |
| run: uv run mypy src/metadarkmatter | |
| continue-on-error: true | |
| - name: Run unit tests | |
| run: | | |
| uv run pytest -m "not slow and not requires_blast and not requires_mmseqs2 and not e2e" \ | |
| --cov=metadarkmatter \ | |
| --cov-report=term-missing \ | |
| --cov-report=xml | |
| - name: Upload coverage report | |
| if: matrix.python-version == '3.12' | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage-xml | |
| path: coverage.xml |