Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpiper committed Dec 20, 2024
1 parent fdcfd11 commit 03f74b2
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,14 @@ jobs:
run: |
make install
- name: Test BMI
- name: Test imports
working-directory: ${{ github.workspace }}/examples
run: |
python -c 'import pymt_heatf'
python -c 'from pymt.models import HeatModelF'
- name: Test BMI
run: |
make test
- name: Run examples
Expand Down Expand Up @@ -126,3 +131,19 @@ jobs:
- name: Build and install package
run: |
make install
- name: Test imports
working-directory: ${{ github.workspace }}/examples
run: |
python -c 'import pymt_heatf'
python -c 'from pymt.models import HeatModelF'
- name: Test BMI
run: |
make test
- name: Run examples
working-directory: ${{ github.workspace }}/examples
run: |
python heatf_ex.py
python pymt_heatf_ex.py

0 comments on commit 03f74b2

Please sign in to comment.