GargGroup / BioDivGenomics

MIT License
0 stars 3 forks source link

Run tests conditionally by Dockstore CLI or Cromwell jar directly. #33

Closed junaruga closed 1 year ago

junaruga commented 1 year ago

This is a note not to forget. The current test/test.py has 7 unit test cases (test_* methods). And the case test_all executes the WDL file by Dockstore CLI (run_wdl_by_dockstore_cli), and other test cases execute the directory by Cromwell cromwell-N.jar.

The solution is to run test conditionally by Dockstore CLI or Cromwell Jar with an environment variable such as TEST_DOCKSTORE=true.