Skip to content

Commit 1ad770f

Browse files
authored
GHA: Reduce workflow load (#2902)
I think we can save some resources here and trigger some workflows less frequently.
1 parent bcedb95 commit 1ad770f

File tree

5 files changed

+6
-10
lines changed

5 files changed

+6
-10
lines changed

.github/workflows/test_benchmark_collection_models.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
extract_subexpressions: ["true", "false"]
2525
env:
2626
AMICI_EXTRACT_CSE: ${{ matrix.extract_subexpressions }}
27-
2827
steps:
2928
- name: Set up Python ${{ matrix.python-version }}
3029
uses: actions/setup-python@v5
@@ -99,7 +98,7 @@ jobs:
9998
fail-fast: false
10099
matrix:
101100
python-version: [ "3.12" ]
102-
extract_subexpressions: ["true", "false"]
101+
extract_subexpressions: ["false"]
103102
env:
104103
AMICI_EXTRACT_CSE: ${{ matrix.extract_subexpressions }}
105104
steps:

.github/workflows/test_install.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Installation
2-
on: [push, pull_request, merge_group, workflow_dispatch]
2+
on:
3+
merge_group:
4+
workflow_dispatch:
35

46
jobs:
57
archive:

.github/workflows/test_python_cplusplus.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: C++/Python Tests
22
on:
33
push:
4+
branches:
5+
- main
46
merge_group:
57
workflow_dispatch:
68
pull_request:

.github/workflows/test_python_nogil.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Python nogil Tests
22
on:
33
push:
4-
pull_request:
54
branches:
65
- main
76
merge_group:

.github/workflows/test_python_ver_matrix.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
name: Python Tests
22
on:
3-
push:
4-
branches:
5-
- main
6-
7-
pull_request:
8-
branches:
93
workflow_dispatch:
104
merge_group:
115
schedule:

0 commit comments

Comments
 (0)