From ae584719d45bb991b026cff0bbf97296753e45f3 Mon Sep 17 00:00:00 2001 From: Mitchel Baker Date: Fri, 26 Jul 2024 00:20:29 +0000 Subject: [PATCH] smoke_test workflow updates --- .github/workflows/run_smoke_test.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/run_smoke_test.yml b/.github/workflows/run_smoke_test.yml index 507f961f..4c5c010f 100644 --- a/.github/workflows/run_smoke_test.yml +++ b/.github/workflows/run_smoke_test.yml @@ -26,34 +26,31 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Install pytest + run: pip3 install pytest + - name: Setup virtualenv run: | pip3 install virtualenv python -m venv .venv .venv\Scripts\activate - python -m pip3 install . - pip3 install -r requirements.txt - pip3 install pytest - python download_opa.py -v 0.60.0 -os windows - pytest -s ./Testing/Functional/SmokeTests/ --subjectemail="$env:GWS_SERVICE_ACCOUNT" + - name: Check virtualenv creation + run: pytest ./Testing/Functional/SmokeTests/ -k "SmokeTest and test_venv_creation" - name: Install dependencies run: | python -m pip3 install . pip3 install -r requirements.txt - pip3 install pytest - name: Download OPA executable run: python download_opa.py -v 0.60.0 -os windows - - name: Check virtualenv creation - run: pytest ./Testing/Functional/SmokeTests/ -k "SmokeTest and test_venv_creation" - - name: Execute ScubaGoggles and check for correct output run: | echo "In step to execute ScubaGoggles smoke test" .venv\Scripts\activate + scubagoggles gws pytest -s ./Testing/Functional/SmokeTests/ --subjectemail="$env:GWS_SERVICE_ACCOUNT" - name: Cache dependencies