Skip to content

Commit c0ced02

Browse files
- wsl with venv.
1 parent 6335285 commit c0ced02

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -999,11 +999,16 @@ jobs:
999999
10001000
- shell: wsl-bash -u root {0}
10011001
name: Install Python dependencies
1002-
run: pip3 install -r --break-system-packages cicd/requirements.txt
1002+
run: |
1003+
python3 -m venv .venv;
1004+
source .venv/bin/activate;
1005+
pip3 install -r cicd/requirements.txt;
10031006
10041007
- shell: wsl-bash {0}
10051008
name: Generate rewritten registry for simulations
1006-
run: python3 test/python/stackql_test_tooling/registry_rewrite.py --srcdir "$(pwd)/test/registry/src" --destdir "$(pwd)/test/registry-mocked/src"
1009+
run: |
1010+
source .venv/bin/activate;
1011+
python3 test/python/stackql_test_tooling/registry_rewrite.py --srcdir "$(pwd)/test/registry/src" --destdir "$(pwd)/test/registry-mocked/src"
10071012
10081013
- shell: wsl-bash {0}
10091014
name: Create certificates for robot tests
@@ -1029,6 +1034,7 @@ jobs:
10291034
export BUILDPATCHVERSION="${BUILDPATCHVERSION}"
10301035
fi
10311036
export PYTHONPATH="$(pwd)/test/python"
1037+
source .venv/bin/activate;
10321038
python3 cicd/python/build.py --robot-test --config='{ "variables": { "IS_WSL": true } }'
10331039
10341040
- shell: wsl-bash {0}
@@ -1065,6 +1071,7 @@ jobs:
10651071
pgrep -f flask | xargs kill -9 || true
10661072
echo "## End ##"
10671073
export PYTHONPATH="$(pwd)/test/python"
1074+
source .venv/bin/activate;
10681075
python3 cicd/python/build.py --robot-test-integration --config='{ "variables": { "IS_WSL": true } }'
10691076
10701077
macosbuild:

0 commit comments

Comments
 (0)