File tree Expand file tree Collapse file tree 4 files changed +107
-50
lines changed Expand file tree Collapse file tree 4 files changed +107
-50
lines changed Original file line number Diff line number Diff line change
1
+ name : Check
2
+
3
+ on :
4
+ - push
5
+ - pull_request
6
+
7
+ jobs :
8
+ build :
9
+ name : ${{ matrix.tox-environment }}
10
+ runs-on : ubuntu-latest
11
+
12
+ strategy :
13
+ fail-fast : false
14
+ matrix :
15
+ tox-environment :
16
+ - black
17
+ - flake8
18
+ - isort
19
+
20
+ env :
21
+ TOXENV : ${{ matrix.tox-environment }}
22
+
23
+ steps :
24
+ - uses : actions/checkout@v2
25
+
26
+ - name : Set up Python
27
+ uses : actions/setup-python@v2
28
+
29
+ - name : Install dependencies
30
+ run : python -m pip install tox
31
+
32
+ - name : Run
33
+ run : tox
Original file line number Diff line number Diff line change
1
+ name : Documentation
2
+
3
+ on :
4
+ - push
5
+ - pull_request
6
+
7
+ jobs :
8
+ build :
9
+ name : Documentation
10
+ runs-on : ubuntu-latest
11
+
12
+ env :
13
+ TOXENV : docs
14
+
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+
18
+ - name : Set up Python
19
+ uses : actions/setup-python@v2
20
+
21
+ - name : Install dependencies
22
+ run : python -m pip install tox
23
+
24
+ - name : Run
25
+ run : tox
Original file line number Diff line number Diff line change
1
+ name : Test
2
+
3
+ on :
4
+ - push
5
+ - pull_request
6
+
7
+ jobs :
8
+ test :
9
+ name : Python ${{ matrix.python-version }} / ${{ matrix.tox-environment }}
10
+ runs-on : ubuntu-latest
11
+
12
+ strategy :
13
+ fail-fast : false
14
+ matrix :
15
+ python-version :
16
+ - 3.6
17
+ - 3.7
18
+ - 3.8
19
+ tox-environment :
20
+ - django22
21
+ - django30
22
+ - django31
23
+ - djangomaster
24
+
25
+ env :
26
+ TOXENV : ${{ matrix.tox-environment }}
27
+
28
+ steps :
29
+ - name : Install LDAP libs
30
+ run : |
31
+ sudo apt-get update
32
+ # https://www.python-ldap.org/en/latest/installing.html#debian
33
+ sudo apt-get install slapd ldap-utils libldap2-dev libsasl2-dev
34
+ # https://github.com/python-ldap/python-ldap/issues/370
35
+ sudo apt-get install apparmor-utils
36
+ sudo aa-disable /usr/sbin/slapd
37
+
38
+ - uses : actions/checkout@v2
39
+
40
+ - name : Set up Python ${{ matrix.python-version }}
41
+ uses : actions/setup-python@v2
42
+ with :
43
+ python-version : ${{ matrix.python-version }}
44
+
45
+ - name : Install dependencies
46
+ run : python -m pip install tox
47
+
48
+ - name : Run tests
49
+ run : tox
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments