NOAA-GSL / ExascaleWorkflowSandbox

Other
2 stars 2 forks source link

Restructure repository to match best practices #42

Closed christopherwharrop-noaa closed 9 months ago

christopherwharrop-noaa commented 9 months ago

This PR restructures the repository to match best practice layout. Additionally, it replaces the old tests with pytest functions to accomplish the same thing. Pytest fixtures are used to initialize and tear down Parsl and the machine configuration is passed to pytest as an argument:

For example:

pytest --assert=plain --config=hercules.yaml

or

pytest --assert=plain --config=chiltepin.yaml

The --assert=plain is needed here to work around pytest issues regarding rewriting of assertions that causes pickle serialization problems when using Parsl.

NOTE: This PR builds upon #41 and will have to be updated once that one is merged.