diff --git a/.automation/test/snakemake/README.md b/.automation/test/snakemake/README.md new file mode 100644 index 00000000..e25faf23 --- /dev/null +++ b/.automation/test/snakemake/README.md @@ -0,0 +1,19 @@ +# Snakemake test cases + +This folder holds the test cases for **Snakemake**. + +## Additional Docs + +No Additional information is needed for this test case. + +## Good Test Cases + +The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted. + +- **Note:** They are linted utilizing the default linter rules. + +## Bad Test Cases + +The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. + +- **Note:** They are linted utilizing the default linter rules. diff --git a/.automation/test/snakemake/snakemake_bad_1.smk b/.automation/test/snakemake/snakemake_bad_1.smk new file mode 100644 index 00000000..abf043e7 --- /dev/null +++ b/.automation/test/snakemake/snakemake_bad_1.smk @@ -0,0 +1,12 @@ +rule all: + input: + file1='result.txt', + + +rule simulation: + output: + file1="result.txt" + shell: + """ + touch {output} + """ diff --git a/.automation/test/snakemake/snakemake_good_1.smk b/.automation/test/snakemake/snakemake_good_1.smk new file mode 100644 index 00000000..7c809a89 --- /dev/null +++ b/.automation/test/snakemake/snakemake_good_1.smk @@ -0,0 +1,12 @@ +rule all: + input: + file1="result.txt", + + +rule simulation: + output: + file1="result.txt", + shell: + """ + touch {output} + """