Repository navigation
style: align suite badge with profile espresso/gold theme #5
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, master] | |
| pull_request: | |
| branches: [main, master] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| include: | |
| - python-version: "3.10" | |
| extras: "" | |
| - python-version: "3.11" | |
| extras: ",rdkit" | |
| - python-version: "3.12" | |
| extras: ",rdkit" | |
| 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 package and dev dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[dev${{ matrix.extras }}]" | |
| - name: Lint with ruff | |
| run: ruff check src/ tests/ | |
| - name: Run tests | |
| run: pytest --cov=scaffoldsplitlab --cov-report=term-missing |