Skip to content

Commit

Permalink
add automated github testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob committed Oct 24, 2024
1 parent 43e64c5 commit 8ffdcb6
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: tests
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_test.txt
- name: Test with pytest
run: pytest -vv
8 changes: 8 additions & 0 deletions requirements_test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

numpy
scipy
scikit-image
pytest
matplotlib
h5py
ipympl

0 comments on commit 8ffdcb6

Please sign in to comment.