From 8eba5aacffcc73411cd1abbbfc1061880fb1adb2 Mon Sep 17 00:00:00 2001 From: Mitchel Baker Date: Thu, 25 Jul 2024 22:59:25 +0000 Subject: [PATCH] change secret creds --- .github/workflows/run_smoke_test.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_smoke_test.yml b/.github/workflows/run_smoke_test.yml index 08554bff..2db5dfbc 100644 --- a/.github/workflows/run_smoke_test.yml +++ b/.github/workflows/run_smoke_test.yml @@ -21,9 +21,18 @@ jobs: runs-on: windows-latest env: SCUBA_GITHUB_AUTOMATION_CREDS: ${{ secrets.SCUBA_GITHUB_AUTOMATION_CREDS }} + GWS_SERVICE_ACCOUNT: ${{ secrets.GWS_SERVICE_ACCOUNT }} steps: - name: Checkout repository uses: actions/checkout@v4 + + - name: Cache dependencies + uses: actions/cache@v3 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ hashFiles("**/requirements.txt") }} + restore-keys: | + ${{ runner.os }}-pip- - name: Setup virtualenv run: | @@ -43,5 +52,7 @@ jobs: - name: Execute ScubaGoggles and check for correct output run: | echo "In step to execute ScubaGoggles smoke test" - echo ${$env:SCUBA_GITHUB_AUTOMATION_CREDS.subjectemail} - pytest -s ./Testing/Functional/SmokeTests/ --subjectemail="${$env:SCUBA_GITHUB_AUTOMATION_CREDS.subjectemail}" \ No newline at end of file + echo $env:SCUBA_GITHUB_AUTOMATION_CREDS.subjectemail + echo $env:SCUBA_GITHUB_AUTOMATION_CREDS.subjectemail | ConvertFrom-Json + echo $env:GWS_SERVICE_ACCOUNT + pytest -s ./Testing/Functional/SmokeTests/ --subjectemail="$env:GWS_SERVICE_ACCOUNT" \ No newline at end of file