ci: install new dependency group in pytest workflow #11
Workflow file for this run
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
| # TODO: define test matrix for platform + python version | |
| name: Run pytest | |
| on: | |
| push: | |
| paths: | |
| - 'src/**.cpp' | |
| - 'src-py/**.py' | |
| - 'tests/**.py' | |
| pull_request: | |
| paths: | |
| - 'src/**.cpp' | |
| - 'src-py/**.py' | |
| - 'tests/**.py' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| submodules: recursive | |
| - uses: actions/setup-python@v6 | |
| with: | |
| cache: pip | |
| cache-dependency-path: pyproject.toml | |
| python-version: '3.11' | |
| - run: pip install --group dev . | |
| - run: pytest |