Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Tests

on:
push:
branches: [master]
# No branch filter, so pull requests stacked on another branch are tested too.
pull_request:

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v7

- name: Install uv
uses: astral-sh/setup-uv@v10.2.0

- name: Install the package and test dependencies
run: |
uv venv --python ${{ matrix.python-version }}
uv pip install -e ".[test]"

# addopts deselects the CLI tests, so select everything explicitly.
- name: Run the test suite
run: |
source .venv/bin/activate
python -m pytest -m "cmd or not cmd"
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ modisco
attributions instead of downloaded data, and finish in under a minute.
CLI tests are deselected by default; run them with `pytest -m cmd`.

- GitHub Actions runs the full test suite, including the CLI tests, on
Python 3.9 through 3.13 for every pull request and push to master.



Version 2.5.2
Expand Down
Loading