Skip to content

Commit

Permalink
change secret creds
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelbaker-cisa committed Jul 25, 2024
1 parent f5919a5 commit 8eba5aa
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/run_smoke_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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}"
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"

0 comments on commit 8eba5aa

Please sign in to comment.