Skip to content

run test

run test #5

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 }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- 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}
pytest -s ./Testing/Functional/SmokeTests/ --subjectemail="${$env:SCUBA_GITHUB_AUTOMATION_CREDS.subjectemail}"