diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1c144358..4be6078b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,8 +23,8 @@ jobs: phylogenetic \ --configfile profiles/ci/builds.yaml artifact-paths: | - phylogenetic/auspice/ - phylogenetic/results/ - phylogenetic/benchmarks/ - phylogenetic/logs/ - phylogenetic/.snakemake/log/ + phylogenetic/auspice/ + phylogenetic/results/ + phylogenetic/benchmarks/ + phylogenetic/logs/ + phylogenetic/.snakemake/log/ diff --git a/phylogenetic/Snakefile b/phylogenetic/Snakefile index c8ab54dd..39a6d8fc 100644 --- a/phylogenetic/Snakefile +++ b/phylogenetic/Snakefile @@ -56,11 +56,14 @@ if config.get("deploy_url", False): include: "workflow/snakemake_rules/nextstrain_automation.smk" + # Include custom rules defined in the config. if "custom_rules" in config: for rule_file in config["custom_rules"]: + include: rule_file + rule clean: message: "Removing directories: {params}" diff --git a/phylogenetic/profiles/ci/copy_example_data.smk b/phylogenetic/profiles/ci/copy_example_data.smk index 86781cb0..447240f3 100644 --- a/phylogenetic/profiles/ci/copy_example_data.smk +++ b/phylogenetic/profiles/ci/copy_example_data.smk @@ -11,4 +11,5 @@ rule copy_example_data: cp -f {input.metadata} {output.metadata} """ -ruleorder: copy_example_data > decompress \ No newline at end of file + +ruleorder: copy_example_data > decompress