Skip to content

Commit 03f74b2

Browse files
committed
Add tests
1 parent fdcfd11 commit 03f74b2

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/test.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,14 @@ jobs:
4141
run: |
4242
make install
4343
44-
- name: Test BMI
44+
- name: Test imports
45+
working-directory: ${{ github.workspace }}/examples
4546
run: |
4647
python -c 'import pymt_heatf'
48+
python -c 'from pymt.models import HeatModelF'
49+
50+
- name: Test BMI
51+
run: |
4752
make test
4853
4954
- name: Run examples
@@ -126,3 +131,19 @@ jobs:
126131
- name: Build and install package
127132
run: |
128133
make install
134+
135+
- name: Test imports
136+
working-directory: ${{ github.workspace }}/examples
137+
run: |
138+
python -c 'import pymt_heatf'
139+
python -c 'from pymt.models import HeatModelF'
140+
141+
- name: Test BMI
142+
run: |
143+
make test
144+
145+
- name: Run examples
146+
working-directory: ${{ github.workspace }}/examples
147+
run: |
148+
python heatf_ex.py
149+
python pymt_heatf_ex.py

0 commit comments

Comments
 (0)