-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from nextstrain/test-data
feat(ci): Use cached ncbi dataset package to isolate tests
- Loading branch information
Showing
4 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
rule copy_example_data: | ||
input: | ||
ncbi_dataset="example_data/ncbi_dataset.zip" | ||
output: | ||
ncbi_dataset=temp("data/ncbi_dataset.zip") | ||
shell: | ||
""" | ||
cp -f {input.ncbi_dataset} {output.ncbi_dataset} | ||
""" | ||
|
||
# Add a Snakemake ruleorder directive here if you need to resolve ambiguous rules | ||
# that have the same output as the copy_example_data rule. | ||
|
||
ruleorder: copy_example_data > fetch_ncbi_dataset_package |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,4 +107,3 @@ rule format_ncbi_datasets_ndjson: | |
--duplicate-reporting warn \ | ||
2> {log} > {output.ndjson} | ||
""" | ||
|