@@ -1015,10 +1015,16 @@ jobs:
10151015 openssl req -x509 -keyout test/server/mtls/credentials/pg_client_key.pem -out test/server/mtls/credentials/pg_client_cert.pem -config test/server/mtls/openssl.cnf -days 365
10161016 openssl req -x509 -keyout test/server/mtls/credentials/pg_rubbish_key.pem -out test/server/mtls/credentials/pg_rubbish_cert.pem -config test/server/mtls/openssl.cnf -days 365
10171017
1018+ # - shell: powershell {0}
1019+ # name: Git Ref Parse
1020+ # id: git_ref_parse
1021+ # run: |
1022+ # PYTHONPATH="$Env:PYTHONPATH:$(pwd)/test/python"
1023+
10181024 - shell : wsl-bash {0}
10191025 name : Run robot mocked functional tests
10201026 # env:
1021- # PYTHONPATH: '${{ env.PYTHONPATH }}:${{ github.workspace }}/ test/ python'
1027+ # PYTHONPATH: '${{ env.PYTHONPATH }}:${{ github.workspace }}\ test\ python'
10221028 run : |
10231029 . cicd/version.txt
10241030 export BUILDBRANCH="${{github.ref}}"
@@ -1033,7 +1039,7 @@ jobs:
10331039 then
10341040 export BUILDPATCHVERSION="${BUILDPATCHVERSION}"
10351041 fi
1036- export PYTHONPATH="$PYTHONPATH:$ (pwd)/test/python"
1042+ export PYTHONPATH="$(pwd)/test/python"
10371043 python3 cicd/python/build.py --robot-test --config='{ "variables": { "IS_WSL": true } }'
10381044
10391045 - shell : wsl-bash {0}
@@ -1048,7 +1054,7 @@ jobs:
10481054 if : env.AZURE_CLIENT_SECRET != ''
10491055 env :
10501056 AZURE_CLIENT_SECRET : ${{ secrets.AZURE_CLIENT_SECRET }}
1051- # PYTHONPATH: '${{ env.PYTHONPATH }}:${{ github.workspace }}/ test/ python'
1057+ # PYTHONPATH: '${{ env.PYTHONPATH }}:${{ github.workspace }}\ test\ python'
10521058 run : |
10531059 . cicd/version.txt
10541060 export AZURE_CLIENT_ID='${{ secrets.AZURE_CLIENT_ID }}'
@@ -1070,7 +1076,7 @@ jobs:
10701076 echo "## Stray flask apps to be killed before robot tests ##"
10711077 pgrep -f flask | xargs kill -9 || true
10721078 echo "## End ##"
1073- export PYTHONPATH="$PYTHONPATH:$ (pwd)/test/python"
1079+ export PYTHONPATH="$(pwd)/test/python"
10741080 python3 cicd/python/build.py --robot-test-integration --config='{ "variables": { "IS_WSL": true } }'
10751081
10761082 macosbuild :
0 commit comments