Skip to content

Commit

Permalink
Add dependency in GitHub workflows
Browse files Browse the repository at this point in the history
`inference-ci` now triggers whenever `flepicommon-ci` or `gempyor-ci`
runs.
  • Loading branch information
TimothyWillard committed Oct 9, 2024
1 parent 3d087c7 commit 516909a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/flepicommon-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
- dev

jobs:
unit-tests:
ci:
runs-on: ubuntu-latest
container:
image: hopkinsidd/flepimop:latest-dev
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gempyor-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
- dev

jobs:
unit-tests:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/inference-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: inference-ci

on:
workflow_dispatch:
workflow_run:
workflows: ['flepicommon-ci', 'gempyor-ci']
types:
- completed
push:
paths:
- flepimop/R_packages/inference/**/*
Expand All @@ -16,8 +20,9 @@ on:
- dev

jobs:
unit-tests:
ci:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
container:
image: hopkinsidd/flepimop:latest-dev
options: --user root
Expand Down

0 comments on commit 516909a

Please sign in to comment.