@@ -36,12 +36,12 @@ jobs:
36
36
!contains(github.event.head_commit.message, '[skip_ci]')
37
37
steps :
38
38
- name : Check out the repository
39
- uses : actions/checkout@v3.0.2
39
+ uses : actions/checkout@v3.2.0
40
40
41
- - name : Set up Python 3.10
42
- uses : actions/setup-python@v4.2.0
41
+ - name : Set up Python 3.11
42
+ uses : actions/setup-python@v4.3.1
43
43
with :
44
- python-version : ' 3.10 '
44
+ python-version : ' 3.11 '
45
45
46
46
- name : Upgrade pip
47
47
run : |
@@ -50,12 +50,12 @@ jobs:
50
50
51
51
- name : Install Poetry
52
52
run : |
53
- pipx install --pip-args= --constraint=.github/constraints.txt poetry
53
+ pip install --constraint=.github/constraints.txt poetry
54
54
poetry --version
55
55
56
56
- name : Install Nox
57
57
run : |
58
- pipx install --pip-args= --constraint=.github/constraints.txt nox
58
+ pip install --constraint=.github/constraints.txt nox
59
59
nox --version
60
60
61
61
# - name: Run safety session
65
65
- name : Run pre commit checks
66
66
run : |
67
67
nox --force-color --session=pre-commit
68
- # this includes pycln, isort, black, flake8 checks
69
68
70
69
- name : Run mypy static type checks
71
70
run : |
@@ -76,12 +75,12 @@ jobs:
76
75
needs : lint
77
76
steps :
78
77
- name : Check out the repository
79
- uses : actions/checkout@v3.0.2
78
+ uses : actions/checkout@v3.2.0
80
79
81
- - name : Set up Python 3.10
82
- uses : actions/setup-python@v4.2.0
80
+ - name : Set up Python 3.11
81
+ uses : actions/setup-python@v4.3.1
83
82
with :
84
- python-version : ' 3.10 '
83
+ python-version : ' 3.11 '
85
84
86
85
- name : Upgrade pip
87
86
run : |
@@ -90,12 +89,12 @@ jobs:
90
89
91
90
- name : Install Poetry
92
91
run : |
93
- pipx install --pip-args= --constraint=.github/constraints.txt poetry
92
+ pip install --constraint=.github/constraints.txt poetry
94
93
poetry --version
95
94
96
95
- name : Install Nox
97
96
run : |
98
- pipx install --pip-args= --constraint=.github/constraints.txt nox
97
+ pip install --constraint=.github/constraints.txt nox
99
98
nox --version
100
99
101
100
- name : Build documentation
@@ -112,24 +111,32 @@ jobs:
112
111
fail-fast : false
113
112
matrix :
114
113
os : [ubuntu-latest, macos-latest, windows-latest]
115
- python-version : ['3.8', '3.9', '3.10']
114
+ python-version : ['3.8', '3.9', '3.10', '3.11' ]
116
115
steps :
117
116
- name : Checkout repository
118
-
119
-
117
+
118
+ with :
119
+ fetch-depth : 1
120
+
120
121
with :
121
122
python-version : ${{ matrix.python-version }}
122
123
architecture : x64
123
- # - name: Checkout submodules
124
- # run: git submodule update --init --recursive --depth=1
124
+ - name : Use frozen pip version
125
+ run : |
126
+ pip install --constraint=.github/constraints.txt pip virtualenv
127
+ pip --version
125
128
- name : Install nox
126
- run : pip install --constraint=.github/constraints.txt nox
129
+ run : |
130
+ pip install --constraint=.github/constraints.txt nox
131
+ nox --version
127
132
- name : Install poetry
128
- run : pip install --constraint=.github/constraints.txt poetry
133
+ run : |
134
+ pip install --constraint=.github/constraints.txt poetry
135
+ poetry --version
129
136
- name : Run nox tests
130
137
run : nox --force-color --session tests --python ${{ matrix.python-version }}
131
138
- name : Upload coverage data
132
-
139
+
133
140
with :
134
141
name : coverage-data
135
142
path : " .coverage.*"
@@ -139,30 +146,30 @@ jobs:
139
146
needs : tests
140
147
steps :
141
148
- name : Check out the repository
142
- uses : actions/checkout@v3.0.2
149
+ uses : actions/checkout@v3.2.0
143
150
144
- - name : Set up Python 3.10
145
- uses : actions/setup-python@v4.2.0
151
+ - name : Set up Python 3.11
152
+ uses : actions/setup-python@v4.3.1
146
153
with :
147
- python-version : ' 3.10 '
154
+ python-version : ' 3.11 '
148
155
149
- - name : Upgrade pip
156
+ - name : Use frozen pip version
150
157
run : |
151
158
pip install --constraint=.github/constraints.txt pip
152
159
pip --version
153
160
154
161
- name : Install Poetry
155
162
run : |
156
- pipx install --pip-args= --constraint=.github/constraints.txt poetry
163
+ pip install --constraint=.github/constraints.txt poetry
157
164
poetry --version
158
165
159
166
- name : Install Nox
160
167
run : |
161
- pipx install --pip-args= --constraint=.github/constraints.txt nox
168
+ pip install --constraint=.github/constraints.txt nox
162
169
nox --version
163
170
164
171
- name : Download coverage data
165
-
172
+
166
173
with :
167
174
name : coverage-data
168
175
@@ -175,4 +182,4 @@ jobs:
175
182
nox --force-color --session=coverage -- xml
176
183
177
184
- name : Upload coverage report
178
-
185
+
0 commit comments