File tree Expand file tree Collapse file tree 5 files changed +24
-25
lines changed Expand file tree Collapse file tree 5 files changed +24
-25
lines changed Original file line number Diff line number Diff line change @@ -67,12 +67,12 @@ jobs:
6767 with :
6868 persist-credentials : false
6969
70- - uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
71- with :
72- python-version : ' 3.12'
73-
7470 - name : Install test dependencies
75- run : pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary '.[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]'
7674
7775 - name : Run TLV constants sync test
78- 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 @@ -27,14 +27,11 @@ jobs:
2727 with :
2828 persist-credentials : false
2929
30- - uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
31- with :
32- python-version : ' 3.12'
33-
3430 - name : ' install prereqs'
3531 run : |
3632 /home/linuxbrew/.linuxbrew/bin/brew install zizmor
37- pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary '.[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]'
3835
3936 - name : ' zizmor GHA'
4037 env :
4542
4643 - name : ' ruff'
4744 run : |
45+ source ~/venv/bin/activate
4846 ruff --version
4947 # shellcheck disable=SC2046
5048 ruff check $(git ls-files '*.py')
Original file line number Diff line number Diff line change @@ -69,13 +69,13 @@ jobs:
6969 runs-on : ubuntu-latest
7070 strategy :
7171 matrix : ${{ fromJSON(needs.DetermineMatrix.outputs.matrix) }}
72+ env :
73+ MATRIX_FUZZER : ' ${{ matrix.fuzzer }}'
7274 steps :
7375 - uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
7476 with :
7577 name : fuzz_tar
7678 - name : Unpack fuzzer ${{ matrix.fuzzer }}
77- env :
78- MATRIX_FUZZER : ' ${{ matrix.fuzzer }}'
7979 run : tar xvf fuzz.tar build-out/"${MATRIX_FUZZER}" build-out/"${MATRIX_FUZZER}"_seed_corpus.zip
8080 - name : Display extracted files
8181 run : ls -laR build-out/
Original file line number Diff line number Diff line change @@ -24,20 +24,21 @@ jobs:
2424 with :
2525 persist-credentials : false
2626
27- - uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
28- with :
29- python-version : ' 3.12'
30-
3127 - name : Install dependencies
3228 run : |
33- pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary '.[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
3432 python -m playwright install
3533
3634 - name : Install Playwright system dependencies
3735 run : |
3836 sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
3937 sudo rm -f /var/lib/man-db/auto-update
38+ source ~/venv/bin/activate
4039 playwright install-deps
4140
4241 - name : Run Playwright browser test
43- 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 @@ -21,15 +21,15 @@ jobs:
2121 with :
2222 persist-credentials : false
2323
24- - uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
25- with :
26- python-version : ' 3.12'
27-
2824 - name : Install dependencies
29- run : pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary '.[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]'
3028
3129 - name : Generate decoder HTML
32- 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
3333
3434 - name : Upload artifact
3535 uses : actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
You can’t perform that action at this time.
0 commit comments