Skip to content

Commit fe313ae

Browse files
committed
added demo tests again for all OSs, and temporarily removed build for python 3.10
1 parent 545eb02 commit fe313ae

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/CI-macos.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: macos-10.15
1414
strategy:
1515
matrix:
16-
python-version: [3.6, 3.7, 3.8, 3.9, 3]
16+
python-version: [3.6, 3.7, 3.8, 3.9]
1717

1818
steps:
1919
- uses: actions/checkout@v1
@@ -37,6 +37,11 @@ jobs:
3737
- name: Test import
3838
run: python -c "import denseCRF, maxflow"
3939

40+
- name: Test maxflow demo
41+
run: |
42+
pip install SimpleITK pillow matplotlib
43+
cd ${{github.workspace}}/examples && python demo_maxflow.py 0
44+
4045
- name: Upload Python wheel
4146
uses: actions/upload-artifact@v2
4247
with:

.github/workflows/CI-ubuntu.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-18.04
1414
strategy:
1515
matrix:
16-
python-version: [3.6, 3.7, 3.8, 3.9, 3]
16+
python-version: [3.6, 3.7, 3.8, 3.9]
1717

1818
steps:
1919
- uses: actions/checkout@v1
@@ -37,6 +37,11 @@ jobs:
3737
- name: Test import
3838
run: python -c "import denseCRF, maxflow"
3939

40+
- name: Test maxflow demo
41+
run: |
42+
pip install SimpleITK pillow matplotlib
43+
cd ${{github.workspace}}/examples && python demo_maxflow.py 0
44+
4045
- name: Upload Python wheel
4146
uses: actions/upload-artifact@v2
4247
with:

0 commit comments

Comments
 (0)