Skip to content

Commit 81e813a

Browse files
committed
Add testing with pip built as a zipapp to the CI
1 parent f7240d8 commit 81e813a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,35 @@ jobs:
219219
env:
220220
TEMP: "R:\\Temp"
221221

222+
tests-zipapp:
223+
name: tests / zipapp
224+
runs-on: ubuntu-latest
225+
226+
needs: [pre-commit, packaging, determine-changes]
227+
if: >-
228+
needs.determine-changes.outputs.tests == 'true' ||
229+
github.event_name != 'pull_request'
230+
231+
steps:
232+
- uses: actions/checkout@v2
233+
- uses: actions/setup-python@v2
234+
with:
235+
python-version: "3.10"
236+
237+
- name: Install Ubuntu dependencies
238+
run: sudo apt-get install bzr
239+
240+
- run: pip install nox 'virtualenv<20' 'setuptools != 60.6.0'
241+
242+
# Main check
243+
- name: Run integration tests
244+
run: >-
245+
nox -s test-3.10 --
246+
-m integration
247+
--verbose --numprocesses auto --showlocals
248+
--durations=5
249+
--use-zipapp
250+
222251
# TODO: Remove this when we add Python 3.11 to CI.
223252
tests-importlib-metadata:
224253
name: tests for importlib.metadata backend

0 commit comments

Comments
 (0)