Skip to content

Commit

Permalink
Merge pull request #258 from nextstrain/update-ci-257
Browse files Browse the repository at this point in the history
Switch CI to `pathogen-repo-ci` action [#257]
  • Loading branch information
genehack authored Jun 13, 2024
2 parents fa8e824 + 967c80d commit 3315ff1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 21 deletions.
23 changes: 2 additions & 21 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,5 @@ on:
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 \
--configfiles 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
1 change: 1 addition & 0 deletions .yamlfmt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
exclude:
- ingest/
- nextstrain-pathogen.yaml
formatter:
type: basic
line_ending: lf
Expand Down
5 changes: 5 additions & 0 deletions nextstrain-pathogen.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This is currently an empty file to indicate the top level pathogen repo.
# The inclusion of this file allows the Nextstrain CLI to run the
# `nextstrain build` from any directory regardless of runtime.
#
# See https://github.com/nextstrain/cli/releases/tag/8.2.0 for more details.

0 comments on commit 3315ff1

Please sign in to comment.