From 516909aa0b21206cc68aa9cfc21752f2277a7ba7 Mon Sep 17 00:00:00 2001 From: Timothy Willard <9395586+TimothyWillard@users.noreply.github.com> Date: Wed, 9 Oct 2024 14:46:05 -0400 Subject: [PATCH] Add dependency in GitHub workflows `inference-ci` now triggers whenever `flepicommon-ci` or `gempyor-ci` runs. --- .github/workflows/flepicommon-ci.yml | 2 +- .github/workflows/gempyor-ci.yml | 2 +- .github/workflows/inference-ci.yml | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/flepicommon-ci.yml b/.github/workflows/flepicommon-ci.yml index 5314c1b4f..813a4b35c 100644 --- a/.github/workflows/flepicommon-ci.yml +++ b/.github/workflows/flepicommon-ci.yml @@ -16,7 +16,7 @@ on: - dev jobs: - unit-tests: + ci: runs-on: ubuntu-latest container: image: hopkinsidd/flepimop:latest-dev diff --git a/.github/workflows/gempyor-ci.yml b/.github/workflows/gempyor-ci.yml index 5f495ebed..86b4645a3 100644 --- a/.github/workflows/gempyor-ci.yml +++ b/.github/workflows/gempyor-ci.yml @@ -18,7 +18,7 @@ on: - dev jobs: - unit-tests: + ci: runs-on: ubuntu-latest strategy: matrix: diff --git a/.github/workflows/inference-ci.yml b/.github/workflows/inference-ci.yml index 2ca3d4897..4bb2a5b8b 100644 --- a/.github/workflows/inference-ci.yml +++ b/.github/workflows/inference-ci.yml @@ -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/**/* @@ -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