File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 31
31
with :
32
32
python-version : 3.6
33
33
- name : Install isal
34
- run : sudo apt-get install libisal-dev
34
+ run : sudo apt-get install nasm
35
35
- name : Install tox
36
36
run : pip install tox
37
37
- name : Build docs
63
63
- name : Install nasm
64
64
run : sudo apt install nasm
65
65
if : ${{ matrix.linking_method == 'static' }}
66
- - name : Run tests
66
+ - name : Run tests (dynamic link)
67
+ run : tox -e py3
68
+ env :
69
+ PYTHON_ISAL_LINK_DYNAMIC : True
70
+ if : ${{ matrix.linking_method == 'dynamic' }}
71
+ - name : Run tests (dynamic link)
67
72
run : tox -e py3
73
+ if : ${{ matrix.linking_method == 'static' }}
68
74
- name : Upload coverage report
69
- if : ${{ matrix.python-version == 3.6 }} # Only upload coverage once
75
+ if : ${{ matrix.python-version == 3.6 && matrix.linking_method == 'static' }} # Only upload coverage once
70
76
uses : codecov/codecov-action@v1
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ envlist=py3
5
5
[testenv]
6
6
deps =coverage
7
7
pytest
8
+ passenv =
9
+ PYTHON_ISAL_LINK_DYNAMIC
8
10
commands =
9
11
# Create HTML coverage report for humans and xml coverage report for external services.
10
12
coverage run --source ={envsitepackagesdir}/isal -m py.test -v tests
You can’t perform that action at this time.
0 commit comments