Skip to content

Merge pull request #155 from martius-lab/fkloss/monitortui #401

Merge pull request #155 from martius-lab/fkloss/monitortui

Merge pull request #155 from martius-lab/fkloss/monitortui #401

Workflow file for this run

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/