Skip to content

Commit

Permalink
Merge pull request #17 from nextstrain/victorlin/ci-target
Browse files Browse the repository at this point in the history
Specify CI target in a Snakemake rule
  • Loading branch information
trvrb authored Apr 27, 2024
2 parents 64b98ca + b8263d2 commit c0c24ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ jobs:
ci:
uses: nextstrain/.github/.github/workflows/pathogen-repo-ci.yaml@master
with:
build-args: auspice/avian-flu_h5n1_ha_all-time.json
build-args: test_target
6 changes: 6 additions & 0 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ rule all:
input:
auspice_json = all_targets()

rule test_target:
"""
For testing purposes such as CI workflows.
"""
input: "auspice/avian-flu_h5n1_ha_all-time.json"

rule files:
params:
dropped_strains = "config/dropped_strains_{subtype}.txt",
Expand Down

0 comments on commit c0c24ac

Please sign in to comment.