Closed annshress closed 6 months ago
So tests do not run as part of any GH Action? Are they just run manually?
Yes. We do not have complete input test files in GH. So, the assumption is test coverage is not complete.
They are scheduled to run periodically by default (on dev
branch) and can be run manually (with branch-name as parameter).
Is it just assumed that the data is in the correct directory?
Yes. Data is assumed to be local in the test location (hpc dev). This comes with a hiccup, which is same test file across all branches.
Changes
Automated tests have been moved from GH Actions into Prefect Scheduled Workflows.
~/test-runner
directory in dev hpc./helper_scripts/remote_pytest.sh
, which will checkout the code into that branch in the hpc and execute pytest on it and publish result as artifact.Workflow: https://prefect2.hedwig-workflow-api.niaiddev.net/deployments/deployment/d87fc0e8-5c71-408a-bcbe-f2a6320686d1?tab=Runs