From c55e43c3a6c9cb6b1011e261f8d9d5237cd97010 Mon Sep 17 00:00:00 2001 From: Marty T <120425148+tippmar-nr@users.noreply.github.com> Date: Wed, 15 Jan 2025 16:12:52 -0600 Subject: [PATCH] ci: Update unit tests workflow to run on push to main (#2953) --- .github/workflows/build_profiler.yml | 7 +++++++ .github/workflows/run_unit_tests.yml | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/build_profiler.yml b/.github/workflows/build_profiler.yml index b6a3748b3..622bc84e7 100644 --- a/.github/workflows/build_profiler.yml +++ b/.github/workflows/build_profiler.yml @@ -7,6 +7,13 @@ on: - "feature/**" paths-ignore: - ".github/**" # skip changes to the .github folder (workflows, etc.) + + # needs to run on every push to main to keep CodeCov in sync + push: + branches: + - main + paths-ignore: + - ".github/**" # skip changes to the .github folder (workflows, etc.) # this workflow can be called from another workflow workflow_call: diff --git a/.github/workflows/run_unit_tests.yml b/.github/workflows/run_unit_tests.yml index 46d2b9a9a..019d79a8e 100644 --- a/.github/workflows/run_unit_tests.yml +++ b/.github/workflows/run_unit_tests.yml @@ -5,6 +5,11 @@ on: branches: - main - "feature/**" + + # needs to run on every push to main to keep CodeCov in sync + push: + branches: + - main workflow_dispatch: # allows for manual trigger