Skip to content

Commit 7cd6b01

Browse files
authored
Create test.yml
1 parent e1f3e8d commit 7cd6b01

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI matrix
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
13+
jobs:
14+
build:
15+
strategy:
16+
matrix:
17+
os: [ macos-latest, windows-latest, ubuntu-latest]
18+
smalltalk: [ Pharo64-9.0, Pharo64-10]
19+
runs-on: ${{ matrix.os }}
20+
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Setup smalltalkCI
24+
uses: hpi-swa/setup-smalltalkCI@v1
25+
with:
26+
smalltalk-image: ${{ matrix.smalltalk }}
27+
- name: Load Image and Run Tests
28+
run: smalltalkci -s ${{ matrix.smalltalk }}
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
timeout-minutes: 15

0 commit comments

Comments
 (0)