Skip to content

Commit

Permalink
Add GitHub action to run unit tests on push and PR.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivilata committed Dec 5, 2023
1 parent 075a3a7 commit 12550da
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,24 @@ jobs:
path: |
dist/b2h5py-*.tar.gz
dist/b2h5py-*.whl
test:
name: Run tests
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Download files
uses: actions/download-artifact@v3
with:
name: b2h5py-dist
- name: Install
run: |
python -m pip install b2h5py-*.whl
- name: Test
run: |
python -m unittest discover b2h5py.tests

0 comments on commit 12550da

Please sign in to comment.