9
9
tags :
10
10
- " *"
11
11
12
- defaults :
13
- run :
14
- # This is needed for miniconda, see:
15
- # https://github.com/marketplace/actions/setup-miniconda#important.
16
- shell : bash -l {0}
17
12
18
13
jobs :
19
14
lint :
60
55
test-static :
61
56
needs : lint
62
57
runs-on : ${{ matrix.os }}
58
+ defaults :
59
+ run :
60
+ # This is needed for miniconda, see:
61
+ # https://github.com/marketplace/actions/setup-miniconda#important.
62
+ shell : bash -l {0}
63
63
strategy :
64
64
matrix :
65
65
python-version :
@@ -81,20 +81,15 @@ jobs:
81
81
uses :
conda-incubator/[email protected] # https://github.com/conda-incubator/setup-miniconda.
82
82
with :
83
83
channels : conda-forge,bioconda,defaults
84
- - name : Install requirements (universal)
85
- run : conda install python=${{ matrix.python-version }} tox
86
- - name : Install requirements (unix)
87
- run : conda install make automake autoconf libtool
88
- if : runner.os != 'Windows'
84
+ - name : Install requirements (MacOS)
85
+ run : conda install python=${{ matrix.python-version }} tox make automake autoconf libtool nasm
86
+ if : runner.os == 'macOS'
87
+ - name : Install requirements (Linux)
88
+ run : conda install python=${{ matrix.python-version }} tox make automake autoconf libtool yasm # Yasm in pypa/manylinux images.
89
+ if : runner.os == 'Linux'
89
90
- name : install requirements (Windows)
91
+ run : conda install python=${{ matrix.python-version }} tox vs2019_win-64 nasm
90
92
if : runner.os == 'Windows'
91
- run : conda install vs2019_win-64
92
- - name : install assembler (nasm)
93
- run : conda install nasm
94
- if : runner.os != 'Linux'
95
- - name : install assembler (yasm) # Yasm in pypa/manylinux images.
96
- run : conda install yasm
97
- if : runner.os == 'Linux'
98
93
- name : Run tests
99
94
run : tox -e py3
100
95
- name : Upload coverage report
@@ -105,6 +100,11 @@ jobs:
105
100
test-dynamic :
106
101
runs-on : ${{ matrix.os }}
107
102
needs : lint
103
+ defaults :
104
+ run :
105
+ # This is needed for miniconda, see:
106
+ # https://github.com/marketplace/actions/setup-miniconda#important.
107
+ shell : bash -l {0}
108
108
strategy :
109
109
matrix :
110
110
os : ["ubuntu-latest", "macos-latest", "windows-latest"]
@@ -118,9 +118,6 @@ jobs:
118
118
channels : conda-forge,bioconda,defaults
119
119
- name : Install requirements (universal)
120
120
run : conda install isa-l python tox
121
- - name : Install requirements (unix)
122
- run : conda install make automake autoconf libtool
123
- if : runner.os != 'Windows'
124
121
- name : install requirements (Windows)
125
122
if : runner.os == 'Windows'
126
123
run : conda install vs2019_win-64
0 commit comments