# tests ## make-template ```bash # CWL $ cargo run -- make-template https://github.com/suecharo/gh-trs/blob/main/tests/CWL/wf/trimming_and_qc.cwl \ --output ./tests/test_config_CWL.yml # WDL $ cargo run -- make-template https://github.com/suecharo/gh-trs/blob/main/tests/WDL/wf/dockstore-tool-bamstats.wdl \ --output ./tests/test_config_WDL.yml # NFL $ cargo run -- make-template https://github.com/suecharo/gh-trs/blob/main/tests/NFL/wf/file_input.nf \ --output ./tests/test_config_NFL.yml # SMK $ cargo run -- make-template https://github.com/suecharo/gh-trs/blob/main/tests/SMK/wf/Snakefile \ --output ./tests/test_config_SMK.yml ``` ## validate ```bash # CWL $ cargo run -- validate ./tests/test_config_CWL.yml # WDL $ cargo run -- validate ./tests/test_config_WDL.yml # NFL $ cargo run -- validate ./tests/test_config_NFL.yml # SMK $ cargo run -- validate ./tests/test_config_SMK.yml ``` ## test ```bash # CWL $ cargo run -- test ./tests/test_config_CWL.yml # WDL $ cargo run -- test ./tests/test_config_WDL.yml # NFL $ cargo run -- test ./tests/test_config_NFL.yml # SMK $ cargo run -- test ./tests/test_config_SMK.yml ``` ## publish ```bash # CWL $ cargo run -- publish --repo suecharo/gh-trs --with-test ./tests/test_config_CWL.yml # WDL $ cargo run -- publish --repo suecharo/gh-trs --with-test ./tests/test_config_WDL.yml # NFL $ cargo run -- publish --repo suecharo/gh-trs --with-test ./tests/test_config_NFL.yml # SMK $ cargo run -- publish --repo suecharo/gh-trs --with-test ./tests/test_config_SMK.yml ``` ### multiple files ```bash $ cargo run -- publish --repo suecharo/gh-trs ./tests/test_config_CWL.yml ./tests/test_config_WDL.yml ./tests/test_config_NFL.yml ./tests/test_config_SMK.yml ``` ### from-trs ```bash $ cargo run -- publish --repo suecharo/gh-trs --with-test --from-trs https://suecharo.github.io/gh-trs/ ```