Skip to content

Commit ece58e5

Browse files
committed
merge docs and mypy strategies
1 parent 750052f commit ece58e5

File tree

1 file changed

+9
-22
lines changed

1 file changed

+9
-22
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -25,26 +25,12 @@ jobs:
2525
run: pip install tox
2626
- name: Lint
2727
run: tox -e lint
28-
docs:
29-
needs: lint
30-
runs-on: ubuntu-20.04
31-
steps:
32-
- uses: actions/[email protected]
33-
with:
34-
submodules: recursive
35-
- name: Set up Python 3.6
36-
uses: actions/[email protected]
37-
with:
38-
python-version: 3.6
39-
- name: Install isal
40-
run: sudo apt-get install libisal-dev
41-
- name: Install tox and upgrade setuptools and pip
42-
run: pip install --upgrade tox setuptools pip
43-
- name: Build docs
44-
run: tox -e docs
45-
env:
46-
PYTHON_ISAL_LINK_DYNAMIC: True
47-
mypy:
28+
docs_mypy:
29+
strategy:
30+
matrix:
31+
tox_env:
32+
- docs
33+
- mypy
4834
needs: lint
4935
runs-on: ubuntu-20.04
5036
steps:
@@ -59,10 +45,11 @@ jobs:
5945
run: sudo apt-get install libisal-dev
6046
- name: Install tox and upgrade setuptools and pip
6147
run: pip install --upgrade tox setuptools pip
62-
- name: Mypy checks
63-
run: tox -e mypy
48+
- name: Run tox -e ${{ matrix.tox_env }}
49+
run: tox -e ${{ matrix.tox_env }}
6450
env:
6551
PYTHON_ISAL_LINK_DYNAMIC: True
52+
6653
twine_check:
6754
needs: lint
6855
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)