Skip to content

Commit

Permalink
Merge pull request #80 from nextstrain/update-ci
Browse files Browse the repository at this point in the history
Switch CI to `pathogen-repo-ci` workflow
  • Loading branch information
joverlee521 authored Jul 16, 2024
2 parents b8a5250 + 146c17a commit 24698ca
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 42 deletions.
30 changes: 7 additions & 23 deletions .github/workflows/ci.yaml
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 profiles/ci/profiles_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
2 changes: 2 additions & 0 deletions phylogenetic/build-configs/ci/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
custom_rules:
- build-configs/ci/copy_example_data.smk
17 changes: 0 additions & 17 deletions phylogenetic/example_data/README.md

This file was deleted.

2 changes: 0 additions & 2 deletions phylogenetic/profiles/ci/profiles_config.yaml

This file was deleted.

0 comments on commit 24698ca

Please sign in to comment.