File tree Expand file tree Collapse file tree 2 files changed +63
-37
lines changed Expand file tree Collapse file tree 2 files changed +63
-37
lines changed Original file line number Diff line number Diff line change
1
+ name : Continous integration
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - develop
8
+ - master
9
+
10
+
11
+ jobs :
12
+ lint :
13
+ runs-on : ubuntu-20.04
14
+ strategy :
15
+ matrix :
16
+ python-version :
17
+ - 3.6
18
+ steps :
19
+
20
+ - name : Set up Python ${{ matrix.python-version }}
21
+ uses : actions/setup-python@v2
22
+ - name : Install tox
23
+ run : pip install tox
24
+ - name : Install isal
25
+ run : apt install libisal-dev
26
+ - name : Lint
27
+ run : tox -e lint
28
+ docs :
29
+ needs : lint
30
+ runs-on : ubuntu-20.04
31
+ steps :
32
+
33
+ - name : Set up Python ${{ matrix.python-version }}
34
+ uses : actions/setup-python@v2
35
+ - name : Install tox
36
+ run : pip install tox
37
+ - name : Install isal
38
+ run : apt install libisal-dev
39
+ - name : Build docs
40
+ run : tox -e docs
41
+ test :
42
+ runs-on : ubuntu-20.04
43
+ strategy :
44
+ matrix :
45
+ python-version :
46
+ - 3.6
47
+ - 3.7
48
+ - 3.8
49
+ - 3.9
50
+ needs : lint
51
+ steps :
52
+
53
+ - name : Set up Python ${{ matrix.python-version }}
54
+ uses : actions/setup-python@v2
55
+ - name : Install tox
56
+ run : pip install tox
57
+ - name : Install isal
58
+ run : apt install libisal-dev
59
+ - name : Run tests
60
+ run : tox -e py3
61
+ - name : Upload coverage report
62
+ if : ${{ matrix.python-version == 3.6 }} # Only upload coverage once
63
+ uses : codecov/codecov-action@v1
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments