diff --git a/.github/workflows/pathogen-repo-ci.yaml b/.github/workflows/pathogen-repo-ci.yaml index a8ce20e..fa0d482 100644 --- a/.github/workflows/pathogen-repo-ci.yaml +++ b/.github/workflows/pathogen-repo-ci.yaml @@ -201,6 +201,9 @@ jobs: with: repository: ${{ inputs.repo }} + - name: LIST DEBUG + run: | + ls # XXX TODO: It would be better for this to call setup-nextstrain-cli # using the same ref that this workflow was called with (e.g. if this # workflow was invoked by the caller workflow with @foo than we invoke @@ -232,15 +235,30 @@ jobs: with: runtime: ${{ matrix.runtime }} + ingest: + name: ingest (${{ matrix.runtime }}) + needs: [configuration, build] + strategy: + fail-fast: false + matrix: + runtime: ${{ fromJSON(needs.configuration.outputs.runtimes) }} + runs-on: ubuntu-latest + continue-on-error: ${{ inputs.continue-on-error }} + steps: + - name: Run ingest + run: | + if [[ -f nextstrain-pathogen.yaml && -f ingest/Snakefile && -f ingest/build-configs/ci/config.yaml ]]; then + nextstrain build ingest --configfile build-configs/ci/config.yaml ${{ inputs.build-args }} + else + echo "Skipping ingest build due to one or more missing files." + fi - - run: nextstrain build . ${{ inputs.build-args }} - - - if: always() + - name: Upload ingest artifact + if: always() uses: actions/upload-artifact@v4 with: - name: ${{ inputs.artifact-name }}-${{ matrix.runtime }} + name: ingest-${{ inputs.artifact-name }}-${{ matrix.runtime }} path: | - auspice/ results/ benchmarks/ logs/