Skip to content

Commit

Permalink
debug smoke_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelbaker-cisa committed Jul 25, 2024
1 parent 8169f43 commit 98178b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/run_smoke_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ jobs:
- name: Execute ScubaGoggles and check for correct output
run: |
echo "In step to execute ScubaGoggles smoke test"
echo $env:GWS_SERVICE_ACCOUNT
pytest -s ./Testing/Functional/SmokeTests/ --subjectemail="$env:GWS_SERVICE_ACCOUNT"
- name: Cache dependencies
Expand Down
2 changes: 2 additions & 0 deletions Testing/Functional/SmokeTests/smoke_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ def test_scubagoggles(self, subjectemail):
prefix = "GWSBaselineConformance"
directories = [d for d in os.listdir() if os.path.isdir(d) and d.startswith(prefix)]
directories.sort(key=lambda d: os.path.getctime(d), reverse=True)
print(directories)

cwd = os.getcwd()
output_path = os.path.join(cwd, directories[0])
print(cwd, directories[0])
contents = verify_output_type(output_path, [])
verify_all_outputs_exist(contents)

Expand Down

0 comments on commit 98178b1

Please sign in to comment.