Skip to content

Commit

Permalink
ci: reduce default job matrix size (#167)
Browse files Browse the repository at this point in the history
- keep scheduled workflow's job matrix the same
- reduce default job matrix, which is triggered on PRs, pushes to
  `main`, and callers' default)
  • Loading branch information
c-dilks authored Jan 6, 2025
1 parent 4930862 commit 9242015
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 18 deletions.
28 changes: 10 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,16 @@ env:
matrix_evgen: >-
[
"e_K",
"e_KC",
"e_n",
"e_g",
"e_nC",
"eFT_K",
"e_gFT"
"e_g"
]
# list of configuration file basenames to test; these configuration files
# are the basenames of the 'yaml' and 'gcard' files from `clas12-config`
matrix_config: >-
[
"rga_fall2018",
"rgb_fall2019",
"rgk_fall2018_FTOn"
]
# forks and branches (`ref`s) of the involved git repositories;
Expand Down Expand Up @@ -100,18 +104,6 @@ env:
# - anything else: will "module switch" to that version
gemc_version: 'match_gcard'

# list of configuration file basenames to test; these configuration files
# are the 'yaml' and 'gcard' files from `clas12-config`
matrix_config: >-
[
"clas12-default",
"rga_spring2018",
"rga_fall2018",
"rgk_fall2018_FTOn",
"rgb_fall2019",
"rgc_summer2022"
]
# versions of config files from `matrix_config`;
# use "latest" for the highest semantic version
config_file_versions: >-
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,25 @@ jobs:
uses: ./.github/workflows/ci.yml
with:
num_events: 1000
matrix_evgen: >-
[
"e_K",
"e_KC",
"e_n",
"e_g",
"e_nC",
"eFT_K",
"e_gFT"
]
matrix_config: >-
[
"clas12-default",
"rga_spring2018",
"rga_fall2018",
"rgk_fall2018_FTOn",
"rgb_fall2019",
"rgc_summer2022"
]
issue_bot:
name: Issue bot
Expand Down

0 comments on commit 9242015

Please sign in to comment.