andreped commited on
Commit
5af48ee
1 Parent(s): cd925b1

indent test

Browse files
Files changed (1) hide show
  1. .github/workflows/build.yml +32 -32
.github/workflows/build.yml CHANGED
@@ -26,42 +26,42 @@ jobs:
26
  - name: Build wheel
27
  run: python setup.py bdist_wheel --universal
28
 
29
- test:
30
- needs: build
31
- runs-on: ${{ matrix.os }}
32
- strategy:
33
- matrix:
34
- os: [windows-2019, ubuntu-18.04, macos-10.15]
35
- python-version: [3.6, 3.7, 3.8, 3.9]
36
 
37
- steps:
38
- - name: Download artifact
39
- uses: actions/download-artifact@master
40
- with:
41
- name: "Python wheel"
42
 
43
- - name: Install software
44
- run: pip install --find-links=${{github.workspace}} lungtumormask
45
 
46
- - name: Test CLI
47
- run: lungtumormask --help
48
 
49
- upload:
50
- needs: test
51
- runs-on: ubuntu-18.04
52
 
53
- steps:
54
- - name: Download artifact
55
- uses: actions/download-artifact@master
56
- with:
57
- name: "Python wheel"
58
 
59
- - name: Unzip
60
- run: unzip "Python wheel" && cd "Python wheel" && ls
61
 
62
- - name: Upload Python wheel
63
- uses: actions/upload-artifact@v2
64
- with:
65
- name: Python wheel
66
- path: lungtumormask-*.whl
67
- if-no-files-found: error
 
26
  - name: Build wheel
27
  run: python setup.py bdist_wheel --universal
28
 
29
+ test:
30
+ needs: build
31
+ runs-on: ${{ matrix.os }}
32
+ strategy:
33
+ matrix:
34
+ os: [windows-2019, ubuntu-18.04, macos-10.15]
35
+ python-version: [3.6, 3.7, 3.8, 3.9]
36
 
37
+ steps:
38
+ - name: Download artifact
39
+ uses: actions/download-artifact@master
40
+ with:
41
+ name: "Python wheel"
42
 
43
+ - name: Install software
44
+ run: pip install --find-links=${{github.workspace}} lungtumormask
45
 
46
+ - name: Test CLI
47
+ run: lungtumormask --help
48
 
49
+ upload:
50
+ needs: test
51
+ runs-on: ubuntu-18.04
52
 
53
+ steps:
54
+ - name: Download artifact
55
+ uses: actions/download-artifact@master
56
+ with:
57
+ name: "Python wheel"
58
 
59
+ - name: Unzip
60
+ run: unzip "Python wheel" && cd "Python wheel" && ls
61
 
62
+ - name: Upload Python wheel
63
+ uses: actions/upload-artifact@v2
64
+ with:
65
+ name: Python wheel
66
+ path: lungtumormask-*.whl
67
+ if-no-files-found: error