Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pathogen-repo-ci #90

Merged
merged 12 commits into from
Jun 7, 2024
Merged
3 changes: 3 additions & 0 deletions .github/workflows/pathogen-repo-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,16 @@ jobs:
uses: ./.git/nextstrain/.github/actions/run-nextstrain-build
with:
directory: ingest
runtime: ${{ matrix.runtime }}

- name: Run phylogenetic
uses: ./.git/nextstrain/.github/actions/run-nextstrain-build
with:
directory: phylogenetic
runtime: ${{ matrix.runtime }}

- name: Run nextclade
uses: ./.git/nextstrain/.github/actions/run-nextstrain-build
with:
directory: nextclade
runtime: ${{ matrix.runtime }}
14 changes: 12 additions & 2 deletions actions/run-nextstrain-build/action.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
name: run-nextstrain-build
genehack marked this conversation as resolved.
Show resolved Hide resolved
description: >-
Runs a single `nextstrain build` command in a given sub-directory of
a pathogen repo. Must be provided with the name of the
sub-directory.
a pathogen repo. Must be provided with the name of the sub-directory
and the runtime to use. Requires that the Nextstrain CLI runtime
already be provisioned (e.g., via the `setup-nextstrain-cli` action
in this repo).

Note that this action exists primarily as a means to keep the
`pathogen-repo-ci` workflow DRY; it is unlikely to be useful outside
the context of that specific workflow.

inputs:
directory:
description: The name of the sub-directory to run the build from
type: string
required: true
runtime:
description: Nextstrain runtime to use for the build
type: string
required: true
joverlee521 marked this conversation as resolved.
Show resolved Hide resolved

runs:
using: "composite"
Expand Down