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
19
jobs :
14
20
lint :
65
71
os : ["ubuntu-latest"]
66
72
include :
67
73
- os : " macos-latest"
68
- python-version : 3.8
74
+ python-version : 3.6
75
+ - os : " windows-latest"
76
+ python-version : 3.6
69
77
steps :
70
78
71
79
with :
80
88
run : sudo apt install yasm
81
89
if : runner.os == 'Linux'
82
90
- name : Install build dependencies (Macos)
83
- run : brew install yasm automake autoconf
91
+ run : brew install nasm automake autoconf
84
92
if : runner.os == 'macOS'
93
+ - name : install build dependencies (Windows)
94
+ run : choco install nasm
95
+ if : runner.os == 'Windows'
85
96
- name : Run tests
86
97
run : tox -e py3
87
98
- name : Upload coverage report
@@ -92,21 +103,23 @@ jobs:
92
103
needs : lint
93
104
strategy :
94
105
matrix :
95
- python-version :
96
- - 3.6
97
- os : ["ubuntu-20.04"]
106
+ os : ["ubuntu-latest", "macos-latest", "windows-latest"]
98
107
steps :
99
108
100
109
with :
101
110
submodules : recursive
102
- - name : Set up Python ${{ matrix.python-version }}
103
- uses : actions /setup-python @v2.2.1
111
+ - name : Install miniconda.
112
+ uses : conda-incubator /setup-miniconda @v2.0.1 # https://github.com/conda-incubator/setup-miniconda.
104
113
with :
105
- python-version : ${{ matrix.python-version }}
106
- - name : Install isal
107
- run : sudo apt-get install libisal-dev
108
- - name : Install tox and upgrade setuptools and pip
109
- run : pip install --upgrade tox setuptools pip
114
+ channels : conda-forge,bioconda,defaults
115
+ - name : Install requirements (universal)
116
+ run : conda install nasm isa-l python tox
117
+ - name : Install requirements (unix)
118
+ run : conda install make automake autoconf libtool
119
+ if : runner.os != 'Windows'
120
+ - name : install requirements (Windows)
121
+ if : runner.os == 'Windows'
122
+ run : conda install vs2019_win-64
110
123
- name : Run tests (dynamic link)
111
124
run : tox -e py3
112
125
env :
0 commit comments