-
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 #45 from nextstrain/update-ci
Switch CI to pathogen-repo-ci workflow
- Loading branch information
Showing
2 changed files
with
13 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,12 @@ | ||
name: CI | ||
|
||
on: | ||
- push | ||
- pull_request | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
pathogen-ci: | ||
strategy: | ||
matrix: | ||
runtime: [docker, conda] | ||
permissions: | ||
id-token: write | ||
uses: nextstrain/.github/.github/workflows/pathogen-repo-build.yaml@master | ||
secrets: inherit | ||
with: | ||
runtime: ${{ matrix.runtime }} | ||
run: | | ||
nextstrain build \ | ||
phylogenetic \ | ||
--configfile build-configs/ci/config.yaml | ||
artifact-name: output-${{ matrix.runtime }} | ||
artifact-paths: | | ||
phylogenetic/auspice/ | ||
phylogenetic/results/ | ||
phylogenetic/benchmarks/ | ||
phylogenetic/logs/ | ||
phylogenetic/.snakemake/log/ | ||
ci: | ||
uses: nextstrain/.github/.github/workflows/pathogen-repo-ci.yaml@master |
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,6 @@ | ||
# TODO: If the ingest workflow ever runs too long, we should figure out a way | ||
# to subset the ingest data. Currently, the CI just runs the default ingest workflow. | ||
|
||
# Snakemake requires at least one top level key in a config file, so including | ||
# a bogus key here that should not be used anywhere in the Snakemake workflow | ||
bogus_ci_config: "bogus_ci_config" |