From 014130b2b17687267dbeeea171301dfd6c182c09 Mon Sep 17 00:00:00 2001 From: Joshua Hiller Date: Fri, 20 Mar 2026 14:40:44 -0400 Subject: [PATCH] Workflow updates --- .github/workflows/unit_testing_eu1.yml | 6 ++++-- .github/workflows/unit_testing_macos.yml | 6 ++++-- .github/workflows/unit_testing_ubuntu.yml | 6 ++++-- .github/workflows/unit_testing_us2.yml | 4 +++- .github/workflows/unit_testing_usgov1.yml | 4 +++- .github/workflows/unit_testing_windows.yml | 4 +++- 6 files changed, 21 insertions(+), 9 deletions(-) diff --git a/.github/workflows/unit_testing_eu1.yml b/.github/workflows/unit_testing_eu1.yml index c80563d39..94bd14e39 100644 --- a/.github/workflows/unit_testing_eu1.yml +++ b/.github/workflows/unit_testing_eu1.yml @@ -8,8 +8,8 @@ on: paths: - '**.py' branches: - - main - 'ver_*' + - main pull_request: paths: - '**.py' @@ -19,7 +19,9 @@ on: jobs: eu1: - if: github.event.pull_request.head.repo.full_name == github.repository + if: | + github.event_name == 'push' || + (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) runs-on: ubuntu-24.04 timeout-minutes: 45 environment: testing-eu1 diff --git a/.github/workflows/unit_testing_macos.yml b/.github/workflows/unit_testing_macos.yml index 4b7004cbc..4cbe0caa9 100644 --- a/.github/workflows/unit_testing_macos.yml +++ b/.github/workflows/unit_testing_macos.yml @@ -8,8 +8,8 @@ on: paths: - '**.py' branches: - - main - 'ver_*' + - main pull_request: paths: - '**.py' @@ -19,7 +19,9 @@ on: jobs: build: - if: github.event.pull_request.head.repo.full_name == github.repository + if: | + github.event_name == 'push' || + (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) strategy: matrix: python-version: ['3.11'] diff --git a/.github/workflows/unit_testing_ubuntu.yml b/.github/workflows/unit_testing_ubuntu.yml index 1ca1b3afb..2e6418ced 100644 --- a/.github/workflows/unit_testing_ubuntu.yml +++ b/.github/workflows/unit_testing_ubuntu.yml @@ -8,8 +8,8 @@ on: paths: - '**.py' branches: - - main - 'ver_*' + - main - dev pull_request: paths: @@ -21,7 +21,9 @@ on: jobs: build: - if: github.event.pull_request.head.repo.full_name == github.repository + if: | + github.event_name == 'push' || + (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) strategy: matrix: python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] diff --git a/.github/workflows/unit_testing_us2.yml b/.github/workflows/unit_testing_us2.yml index e77c8d046..b799259d0 100644 --- a/.github/workflows/unit_testing_us2.yml +++ b/.github/workflows/unit_testing_us2.yml @@ -19,7 +19,9 @@ on: jobs: us2: - if: github.event.pull_request.head.repo.full_name == github.repository + if: | + github.event_name == 'push' || + (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) runs-on: ubuntu-24.04 timeout-minutes: 45 environment: testing-us2 diff --git a/.github/workflows/unit_testing_usgov1.yml b/.github/workflows/unit_testing_usgov1.yml index f7c62b132..88546bcb2 100644 --- a/.github/workflows/unit_testing_usgov1.yml +++ b/.github/workflows/unit_testing_usgov1.yml @@ -19,7 +19,9 @@ on: jobs: usgov1: - if: github.event.pull_request.head.repo.full_name == github.repository + if: | + github.event_name == 'push' || + (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) runs-on: ubuntu-24.04 timeout-minutes: 45 environment: testing diff --git a/.github/workflows/unit_testing_windows.yml b/.github/workflows/unit_testing_windows.yml index e23c62faf..181acfc42 100644 --- a/.github/workflows/unit_testing_windows.yml +++ b/.github/workflows/unit_testing_windows.yml @@ -19,7 +19,9 @@ on: jobs: build: - if: github.event.pull_request.head.repo.full_name == github.repository + if: | + github.event_name == 'push' || + (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) strategy: matrix: python-version: ['3.11']