File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9191 GDS_TEST_PYTHON : ${{ runner.temp }}/gds-release-python/bin/python
9292 run : |
9393 python3 -m venv "${GDS_TEST_PYTHON%/bin/python}"
94+ export PATH="${GDS_TEST_PYTHON%/python}:$PATH"
9495 "$GDS_TEST_PYTHON" -m pip install --quiet --require-hashes -r requirements/test.txt
9596 scripts/validate_release.sh
9697
Original file line number Diff line number Diff line change @@ -173,7 +173,8 @@ func TestHostedReleaseWorkflowInstallsLockedPythonDependenciesBeforeReleaseGate(
173173 t .Fatal ("release workflow must install hash-locked Python dependencies before validation" )
174174 }
175175 if ! strings .Contains (content , "GDS_TEST_PYTHON: ${{ runner.temp }}/gds-release-python/bin/python" ) ||
176- ! strings .Contains (content , `python3 -m venv "${GDS_TEST_PYTHON%/bin/python}"` ) {
176+ ! strings .Contains (content , `python3 -m venv "${GDS_TEST_PYTHON%/bin/python}"` ) ||
177+ ! strings .Contains (content , `export PATH="${GDS_TEST_PYTHON%/python}:$PATH"` ) {
177178 t .Fatal ("release workflow must run tests with the Python environment it populated" )
178179 }
179180}
You can’t perform that action at this time.
0 commit comments