-
Notifications
You must be signed in to change notification settings - Fork 34
34 lines (30 loc) · 975 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Pull-request
on:
pull_request:
types: [assigned, opened, synchronize, reopened]
jobs:
# Get the content of the file versions.json. It is interpreted as a json data in the next job.
get-versions:
uses: ./.github/workflows/get-versions.yml
with:
file-path: $GITHUB_WORKSPACE/.github/workflows/versions.json
# Run tests on pharo versions described in the file pharo-versions.json
build:
runs-on: ubuntu-latest
needs:
- get-versions
strategy:
fail-fast: false
matrix:
smalltalk: ${{ fromJSON(needs.get-versions.outputs.versions).pharo-versions }}
name: ${{ matrix.smalltalk }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Option fetching all commits
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
- run: smalltalkci -s ${{ matrix.smalltalk }}
shell: bash
timeout-minutes: 15