-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (40 loc) · 1.14 KB
/
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
35
36
37
38
39
40
41
42
name: Tests
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: "0 8 * * 1" # Run every Monday at 08:00
jobs:
test:
strategy:
# Default value means that a failure in one OS cancels all
fail-fast: false
matrix:
smalltalk: [ Pharo64-11, Pharo64-12, Pharo64-13 ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup smalltalkCI
uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
- name: Load in New Image and Run Tests
run: smalltalkci -s ${{ matrix.smalltalk }} .ci.ston
shell: bash
timeout-minutes: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload logs
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: Logs_${{ matrix.smalltalk }}_${{ matrix.os }}
path: |
*.fuel
PharoDebug.log
retention-days: 3