Skip to content

Commit 2a7518a

Browse files
committed
Run less macOS and Windows CI jobs
They are very subject to timeouts and such. By testing only the oldest and newest versions on them we might have less flakiness.
1 parent 70a2968 commit 2a7518a

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,17 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
os: [ubuntu, macos, windows]
17+
os: [ubuntu]
1818
ruby: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2']
19+
include:
20+
- os: macos
21+
ruby: '2.5'
22+
- os: macos
23+
ruby: '3.2'
24+
- os: windows
25+
ruby: '2.5'
26+
- os: windows
27+
ruby: '3.2'
1928
runs-on: ${{ matrix.os }}-latest
2029
steps:
2130
- uses: actions/checkout@v2
@@ -31,7 +40,7 @@ jobs:
3140
- uses: actions/checkout@v2
3241
- uses: ruby/setup-ruby@v1
3342
with:
34-
ruby-version: 3.1
43+
ruby-version: '3.1'
3544
bundler-cache: true # 'bundle install' and cache
3645
- run: sudo apt-get install -y valgrind
3746
- run: bundle exec rake spec:valgrind

0 commit comments

Comments
 (0)