Skip to content

Commit 014130b

Browse files
committed
Workflow updates
1 parent 4e1c4b4 commit 014130b

6 files changed

Lines changed: 21 additions & 9 deletions

File tree

.github/workflows/unit_testing_eu1.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
paths:
99
- '**.py'
1010
branches:
11-
- main
1211
- 'ver_*'
12+
- main
1313
pull_request:
1414
paths:
1515
- '**.py'
@@ -19,7 +19,9 @@ on:
1919

2020
jobs:
2121
eu1:
22-
if: github.event.pull_request.head.repo.full_name == github.repository
22+
if: |
23+
github.event_name == 'push' ||
24+
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
2325
runs-on: ubuntu-24.04
2426
timeout-minutes: 45
2527
environment: testing-eu1

.github/workflows/unit_testing_macos.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
paths:
99
- '**.py'
1010
branches:
11-
- main
1211
- 'ver_*'
12+
- main
1313
pull_request:
1414
paths:
1515
- '**.py'
@@ -19,7 +19,9 @@ on:
1919

2020
jobs:
2121
build:
22-
if: github.event.pull_request.head.repo.full_name == github.repository
22+
if: |
23+
github.event_name == 'push' ||
24+
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
2325
strategy:
2426
matrix:
2527
python-version: ['3.11']

.github/workflows/unit_testing_ubuntu.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
paths:
99
- '**.py'
1010
branches:
11-
- main
1211
- 'ver_*'
12+
- main
1313
- dev
1414
pull_request:
1515
paths:
@@ -21,7 +21,9 @@ on:
2121

2222
jobs:
2323
build:
24-
if: github.event.pull_request.head.repo.full_name == github.repository
24+
if: |
25+
github.event_name == 'push' ||
26+
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
2527
strategy:
2628
matrix:
2729
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']

.github/workflows/unit_testing_us2.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ on:
1919

2020
jobs:
2121
us2:
22-
if: github.event.pull_request.head.repo.full_name == github.repository
22+
if: |
23+
github.event_name == 'push' ||
24+
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
2325
runs-on: ubuntu-24.04
2426
timeout-minutes: 45
2527
environment: testing-us2

.github/workflows/unit_testing_usgov1.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ on:
1919

2020
jobs:
2121
usgov1:
22-
if: github.event.pull_request.head.repo.full_name == github.repository
22+
if: |
23+
github.event_name == 'push' ||
24+
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
2325
runs-on: ubuntu-24.04
2426
timeout-minutes: 45
2527
environment: testing

.github/workflows/unit_testing_windows.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ on:
1919

2020
jobs:
2121
build:
22-
if: github.event.pull_request.head.repo.full_name == github.repository
22+
if: |
23+
github.event_name == 'push' ||
24+
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
2325
strategy:
2426
matrix:
2527
python-version: ['3.11']

0 commit comments

Comments
 (0)