Skip to content

Commit

Permalink
ENH: Add PyTest CI workflow
Browse files Browse the repository at this point in the history
Adds workflow to automatically run pytests for proposed changes.
  • Loading branch information
tbirdso committed Aug 16, 2023
1 parent 1a7ad38 commit c778f2a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: 'test'

on:
[push, pull_request]

jobs:
pytest:
name: "Test with PyTest"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: "Install dependencies"
shell: bash
run: |
python -m pip install .[develop]
python -m pip uninstall -y aind_ccf_alignment_experiments
- name: "Run tests"
shell: bash
run: |
pytest

0 comments on commit c778f2a

Please sign in to comment.