Skip to content

change secret creds

change secret creds #6

Workflow file for this run

name: Smoke Test
on:
workflow_call:
workflow_dispatch:
pull_request:
types: [opened, reopened]
branches:
- "main"
pull_request_review:
types: [submitted]
push:
paths:
- ".github/workflows/run_smoke_test.yml"
branches:
- "main"
- "*smoke*"
jobs:
smoke-test-windows:
name: Smoke Test for Windows OS
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") }}

Check failure on line 33 in .github/workflows/run_smoke_test.yml

View workflow run for this annotation

GitHub Actions / Smoke Test

Invalid workflow file

The workflow is not valid. .github/workflows/run_smoke_test.yml (Line: 33, Col: 16): Unexpected symbol: '"**/requirements'. Located at position 11 within expression: hashFiles("**/requirements.txt")
restore-keys: |
${{ runner.os }}-pip-
- name: Setup virtualenv
run: |
pip3 install virtualenv
python -m venv .venv
.venv\Scripts\activate
- name: Install dependencies
run: |
pip3 install -r requirements.txt
pip3 install -U pytest
- name: Download OPA executable
run: |
python download_opa.py -v 0.60.0 -os windows
- name: Execute ScubaGoggles and check for correct output
run: |
echo "In step to execute ScubaGoggles smoke test"
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"