@@ -24,16 +24,17 @@ jobs:
24
24
25
25
- name : Execute tests
26
26
run : |
27
- pip install -U pip poetry tox
28
- poetry install
29
-
30
- export TOXENV=${{ matrix.toxenv }}
31
- export PYTHON=${{ matrix.python-version }}
32
- tox
27
+ pip install -U pip poetry tox
28
+ poetry install
33
29
30
+ export TOXENV=${{ matrix.toxenv }}
31
+ export PYTHON=${{ matrix.python-version }}
32
+ tox
34
33
35
34
test :
36
- name : test latest / Django@${{ matrix.django-version }} / Python@${{ matrix.python-version }}
35
+ name :
36
+ test latest / Django@${{ matrix.django-version }} / Python@${{
37
+ matrix.python-version }}
37
38
runs-on : ubuntu-latest
38
39
strategy :
39
40
fail-fast : false
@@ -50,26 +51,28 @@ jobs:
50
51
51
52
- name : Execute tests
52
53
run : |
53
- pip install -U pip poetry tox
54
- poetry install
54
+ pip install -U pip poetry tox
55
+ poetry install
55
56
56
- export DJANGO=${{ matrix.django-version }}
57
- export PYTHON=${{ matrix.python-version }}
58
- export TOXENV=$(echo py${{ matrix.python-version }}-django${{ matrix.django-version }} | tr -d .)
59
- tox
57
+ export DJANGO=${{ matrix.django-version }}
58
+ export PYTHON=${{ matrix.python-version }}
59
+ export TOXENV=$(echo py${{ matrix.python-version }}-django${{ matrix.django-version }} | tr -d .)
60
+ tox
60
61
61
62
- name : Coveralls
62
63
env :
63
64
COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
64
65
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
65
66
run : |
66
- pip install coveralls
67
- coveralls --service=github
67
+ pip install coveralls
68
+ coveralls --service=github
68
69
69
- test_deprecated : # testing older versions of python+django
70
- name : test old stuff / Django@${{ matrix.django-version }} / Python@${{ matrix.python-version }}
70
+ test_deprecated : # testing older versions of python+django
71
+ name :
72
+ test old stuff / Django@${{ matrix.django-version }} / Python@${{
73
+ matrix.python-version }}
71
74
runs-on : ubuntu-latest
72
- strategy : # TODO: use a YAML anchor - not supported in GitHub actions "yet"
75
+ strategy : # TODO: use a YAML anchor - not supported in GitHub actions "yet"
73
76
fail-fast : false
74
77
matrix :
75
78
python-version : [3.7, 3.8, 3.9]
@@ -84,21 +87,21 @@ jobs:
84
87
85
88
- name : Execute tests
86
89
run : |
87
- pip install -U pip poetry tox
88
- poetry install
90
+ pip install -U pip poetry tox
91
+ poetry install
89
92
90
- export DJANGO=${{ matrix.django-version }}
91
- export PYTHON=${{ matrix.python-version }}
92
- export TOXENV=$(echo py${{ matrix.python-version }}-django${{ matrix.django-version }} | tr -d .)
93
- tox
93
+ export DJANGO=${{ matrix.django-version }}
94
+ export PYTHON=${{ matrix.python-version }}
95
+ export TOXENV=$(echo py${{ matrix.python-version }}-django${{ matrix.django-version }} | tr -d .)
96
+ tox
94
97
95
98
- name : Coveralls
96
99
env :
97
100
COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
98
101
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
99
102
run : |
100
- pip install coveralls
101
- coveralls --service=github
103
+ pip install coveralls
104
+ coveralls --service=github
102
105
103
106
build_and_package_sanity :
104
107
runs-on : ubuntu-latest
@@ -115,6 +118,6 @@ jobs:
115
118
116
119
- name : Build
117
120
run : |
118
- pip install -U pip poetry tox
119
- poetry install
120
- ./scripts/build.sh
121
+ pip install -U pip poetry tox
122
+ poetry install
123
+ ./scripts/build.sh
0 commit comments