Merge pull request #156 from martius-lab/fkloss/fix_game_save_issue #403
This file contains 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 | |
# Run on pull requests and when merging to main branch | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "comprl/**" | |
pull_request: | |
paths: | |
- "comprl/**" | |
defaults: | |
run: | |
working-directory: "comprl" | |
jobs: | |
pytest: | |
strategy: | |
fail-fast: false | |
matrix: | |
python_version: ["3.10", "3.12", "3.13"] | |
os: ["ubuntu-latest"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python_version }} | |
- name: Install package with test dependencies | |
run: | | |
python -m pip install ".[test]" | |
- name: Run tests | |
run: | | |
python -m pytest tests/ |