File tree Expand file tree Collapse file tree 4 files changed +22
-7
lines changed Expand file tree Collapse file tree 4 files changed +22
-7
lines changed Original file line number Diff line number Diff line change 6868 persist-credentials : false
6969
7070 - name : Install test dependencies
71- run : pip --disable-pip-version-check --no-input --no-cache-dir install '.[python-tests]'
71+ run : |
72+ python3 -m venv ~/venv
73+ ~/venv/bin/pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary '.[python-tests]'
7274
7375 - name : Run TLV constants sync test
74- run : pytest tests/test_tlv_constants_sync.py
76+ run : |
77+ source ~/venv/bin/activate
78+ pytest tests/test_tlv_constants_sync.py
Original file line number Diff line number Diff line change 3030 - name : ' install prereqs'
3131 run : |
3232 /home/linuxbrew/.linuxbrew/bin/brew install zizmor
33- pip --disable-pip-version-check --no-input --no-cache-dir install '.[ci-tests]'
33+ python3 -m venv ~/venv
34+ ~/venv/bin/pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary '.[ci-tests]'
3435
3536 - name : ' zizmor GHA'
3637 env :
4142
4243 - name : ' ruff'
4344 run : |
45+ source ~/venv/bin/activate
4446 ruff --version
4547 # shellcheck disable=SC2046
4648 ruff check $(git ls-files '*.py')
Original file line number Diff line number Diff line change @@ -26,14 +26,19 @@ jobs:
2626
2727 - name : Install dependencies
2828 run : |
29- pip --disable-pip-version-check --no-input --no-cache-dir install '.[browser-tests]'
29+ python3 -m venv ~/venv
30+ ~/venv/bin/pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary '.[browser-tests]'
31+ source ~/venv/bin/activate
3032 python -m playwright install
3133
3234 - name : Install Playwright system dependencies
3335 run : |
3436 sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
3537 sudo rm -f /var/lib/man-db/auto-update
38+ source ~/venv/bin/activate
3639 playwright install-deps
3740
3841 - name : Run Playwright browser test
39- run : pytest tests/browser/test_corpus_decoder.py
42+ run : |
43+ source ~/venv/bin/activate
44+ pytest tests/browser/test_corpus_decoder.py
Original file line number Diff line number Diff line change @@ -22,10 +22,14 @@ jobs:
2222 persist-credentials : false
2323
2424 - name : Install dependencies
25- run : pip --disable-pip-version-check --no-input --no-cache-dir install '.[page-gen]'
25+ run : |
26+ python3 -m venv ~/venv
27+ ~/venv/bin/pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary '.[page-gen]'
2628
2729 - name : Generate decoder HTML
28- run : python -m curl_fuzzer_tools.generate_decoder_html
30+ run : |
31+ source ~/venv/bin/activate
32+ python -m curl_fuzzer_tools.generate_decoder_html
2933
3034 - name : Upload artifact
3135 uses : actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
You can’t perform that action at this time.
0 commit comments