File tree Expand file tree Collapse file tree 5 files changed +25
-24
lines changed Expand file tree Collapse file tree 5 files changed +25
-24
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+
7074 - name : Install test dependencies
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]'
75+ run : pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary '.[python-tests]'
7476
7577 - name : Run TLV constants sync test
76- run : |
77- source ~/venv/bin/activate
78- pytest tests/test_tlv_constants_sync.py
78+ run : pytest tests/test_tlv_constants_sync.py
Original file line number Diff line number Diff line change @@ -27,11 +27,14 @@ jobs:
2727 with :
2828 persist-credentials : false
2929
30+ - uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
31+ with :
32+ python-version : ' 3.12'
33+
3034 - name : ' install prereqs'
3135 run : |
3236 /home/linuxbrew/.linuxbrew/bin/brew install zizmor
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]'
37+ pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary '.[ci-tests]'
3538
3639 - name : ' zizmor GHA'
3740 env :
4245
4346 - name : ' ruff'
4447 run : |
45- source ~/venv/bin/activate
4648 ruff --version
4749 # shellcheck disable=SC2046
4850 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 }}'
7472 steps :
7573 - uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
7674 with :
7775 name : fuzz_tar
7876 - 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,21 +24,20 @@ jobs:
2424 with :
2525 persist-credentials : false
2626
27+ - uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
28+ with :
29+ python-version : ' 3.12'
30+
2731 - name : Install dependencies
2832 run : |
29- python3 -m venv ~/venv
30- ~/venv/bin/pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary '.[page-gen,browser-tests]'
31- source ~/venv/bin/activate
33+ pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary '.[page-gen,browser-tests]'
3234 python -m playwright install
3335
3436 - name : Install Playwright system dependencies
3537 run : |
3638 sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
3739 sudo rm -f /var/lib/man-db/auto-update
38- source ~/venv/bin/activate
3940 playwright install-deps
4041
4142 - name : Run Playwright browser test
42- run : |
43- source ~/venv/bin/activate
44- pytest tests/browser/test_corpus_decoder.py
43+ run : 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+
2428 - name : Install dependencies
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]'
29+ run : pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary '.[page-gen]'
2830
2931 - name : Generate decoder HTML
30- run : |
31- source ~/venv/bin/activate
32- python -m curl_fuzzer_tools.generate_decoder_html
32+ run : 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