From 45347b37ab3dbc1660b17502fec7d263349d0702 Mon Sep 17 00:00:00 2001 From: Christopher Dilks Date: Mon, 6 Jan 2025 11:39:13 -0500 Subject: [PATCH] ci: reduce default job matrix size - keep scheduled workflow's job matrix the same - reduce default job matrix, which is triggered on PRs, pushes to `main`, and callers' default) --- .github/workflows/ci.yml | 28 ++++++++++------------------ .github/workflows/schedule.yml | 19 +++++++++++++++++++ 2 files changed, 29 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8683454..e5fb899 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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; @@ -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: >- diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index 57c4fe1..24476f8 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -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