Skip to content

Commit a8575a9

Browse files
Gemini: back to exclude
1 parent ef77a1e commit a8575a9

1 file changed

Lines changed: 33 additions & 23 deletions

File tree

‎.github/workflows/R-CMD-check-occasional.yaml‎

Lines changed: 33 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -18,30 +18,40 @@ jobs:
1818
matrix:
1919
os: [macOS-latest, windows-latest, ubuntu-latest]
2020
r: ['devel', 'release', '3.5', '3.6', '4.0', '4.1', '4.2', '4.3', '4.4', '4.5']
21-
locale: ['en_US.utf8']
22-
# Only run non-English-locale CI runs on Ubuntu
23-
include:
24-
# For multibyte characters
25-
- os: ubuntu-latest
26-
r: 'devel'
27-
locale: 'zh_CN.utf8' # Mandarin
28-
# For collate order (#3502, see also #7837)
29-
- os: ubuntu-latest
30-
r: 'devel'
31-
locale: 'lv_LV.utf8' # Latvian
32-
- os: ubuntu-latest
33-
r: 'devel'
34-
locale: 'az_AZ.utf8' # Azeri
35-
- os: ubuntu-latest
36-
r: 'devel'
37-
locale: 'hu_HU.utf8' # Hungarian
38-
- os: ubuntu-latest
39-
r: 'devel'
40-
locale: 'fo_FO.utf8' # Faroese
41-
- os: ubuntu-latest
42-
r: 'devel'
43-
locale: 'sq_MK.utf8' # Albanian (in North Macedonia)
21+
locale: ['en_US.utf8',
22+
# Multibyte characters: Mandarin
23+
'zh_CN.utf8',
24+
# Collate order (#3502, see also #7837): Latvian, Azeri, Hungarian, Faroese, Albanian
25+
'lv_LV.utf8', 'az_AZ.utf8', 'hu_HU.utf8', 'fo_FO.utf8', 'sq_MK.utf8']
26+
# we're constrained by GHA inflexibility to do a tedious thing here with 'exclude' below.
27+
# better would be for GHA to support multiple 'matrix' configs (one for ubuntu, one for other OS);
28+
# an approach with multiple jobs would tediously require copy-pasting the _rest_ of the steps
4429
exclude:
30+
# only run non-English locale CI on Ubuntu
31+
- os: macOS-latest
32+
locale: 'zh_CN.utf8'
33+
- os: macOS-latest
34+
locale: 'lv_LV.utf8'
35+
- os: macOS-latest
36+
locale: 'az_AZ.utf8'
37+
- os: macOS-latest
38+
locale: 'hu_HU.utf8'
39+
- os: macOS-latest
40+
locale: 'fo_FO.utf8'
41+
- os: macOS-latest
42+
locale: 'sq_MK.utf8'
43+
- os: windows-latest
44+
locale: 'zh_CN.utf8'
45+
- os: windows-latest
46+
locale: 'lv_LV.utf8'
47+
- os: windows-latest
48+
locale: 'az_AZ.utf8'
49+
- os: windows-latest
50+
locale: 'hu_HU.utf8'
51+
- os: windows-latest
52+
locale: 'fo_FO.utf8'
53+
- os: windows-latest
54+
locale: 'sq_MK.utf8'
4555
# macOS/arm64 only available for R>=4.1.0
4656
- os: macOS-latest
4757
r: '3.5'

0 commit comments

Comments
 (0)