Skip to content

Commit 7764ed6

Browse files
Use latest OS runners for PR tests
1 parent 5153d9a commit 7764ed6

1 file changed

Lines changed: 17 additions & 4 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,19 @@ concurrency:
1111
permissions: {}
1212

1313
jobs:
14-
test-examples-ubuntu:
15-
runs-on: [ubuntu-24.04]
14+
test-examples:
15+
name: Test examples (${{ matrix.os }})
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
os:
21+
- ubuntu-latest
22+
- macos-latest
23+
- windows-latest
24+
defaults:
25+
run:
26+
shell: bash
1627
steps:
1728
- uses: actions/checkout@v4
1829

@@ -24,9 +35,11 @@ jobs:
2435
- run: roc version
2536

2637
# expect for testing
27-
- run: sudo apt install -y expect
38+
- if: runner.os == 'Linux'
39+
run: sudo apt install -y expect
2840

29-
- run: expect -v
41+
- if: runner.os == 'Linux'
42+
run: expect -v
3043

3144
# Run all tests
3245
- run: ROC=roc ./ci/all_tests.sh

0 commit comments

Comments
 (0)