2222 uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2323 with :
2424 python-version : ' 3'
25- - name : Install nox
26- run : python -m pip install nox
25+ - name : Install CI Requirements
26+ run : |
27+ python -m pip install -r ci-requirements.txt --require-hashes
2728 - name : Pre-commit checks
2829 run : nox -s lint
2930
5354 with :
5455 python-version : ${{ matrix.python-version }}
5556 allow-prereleases : true
56- - name : Install dependencies
57- run : python -m pip install nox
57+ - name : Install CI Requirements
58+ run : |
59+ python -m pip install -r ci-requirements.txt --require-hashes
5860 - name : Run tests
5961 run : nox -s test-${{ matrix.python-version }}
6062 - name : " Upload artifact"
8183 uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
8284 with :
8385 python-version : ' 3'
84- - name : Install dependencies
85- run : python -m pip install nox
86+ - name : Install CI Requirements
87+ run : |
88+ python -m pip install -r ci-requirements.txt --require-hashes
8689 - name : Coverage WITH preemptive
8790 run : nox -s coverage -- --coverage 97 --with-preemptive
8891 - name : Coverage WITHOUT preemptive
@@ -118,8 +121,9 @@ jobs:
118121 uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
119122 with :
120123 python-version : ' 3'
121- - name : Install dependencies
122- run : pip install nox
124+ - name : Install CI Requirements
125+ run : |
126+ python -m pip install -r ci-requirements.txt --require-hashes
123127 - name : Integration Tests with Requests
124128 run : nox -s downstream_${{ matrix.downstream_project }}
125129
@@ -136,8 +140,9 @@ jobs:
136140 uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
137141 with :
138142 python-version : ' 3'
139- - name : Install dependencies
140- run : pip install nox
143+ - name : Install CI Requirements
144+ run : |
145+ python -m pip install -r ci-requirements.txt --require-hashes
141146 - name : BC Coverage
142147 run : nox -s backward_compatibility -- --coverage 80
143148
@@ -180,8 +185,9 @@ jobs:
180185 with :
181186 python-version : ${{ matrix.python-version }}
182187 allow-prereleases : true
183- - name : Install nox
184- run : pip install nox
188+ - name : Install CI Requirements
189+ run : |
190+ python -m pip install -r ci-requirements.txt --require-hashes
185191 - name : Run tests with mypyc enabled
186192 run : nox -s test_mypyc-${{ matrix.python-version }}
187193 - name : " Upload artifact"
@@ -208,8 +214,9 @@ jobs:
208214 with :
209215 python-version : " 3.x"
210216
211- - name : " Install coverage"
212- run : " python -m pip install --upgrade coverage"
217+ - name : Install CI Requirements
218+ run : |
219+ python -m pip install -r ci-requirements.txt --require-hashes
213220
214221 - name : " Download artifact"
215222 uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0
@@ -243,7 +250,8 @@ jobs:
243250 uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
244251 with :
245252 python-version : ' 3'
246- - name : Install dependencies
247- run : pip install nox
253+ - name : Install CI Requirements
254+ run : |
255+ python -m pip install -r ci-requirements.txt --require-hashes
248256 - name : Performance Measurement
249257 run : nox -s performance
0 commit comments