-
Notifications
You must be signed in to change notification settings - Fork 22
36 lines (35 loc) · 967 Bytes
/
unit-tests.yml
File metadata and controls
36 lines (35 loc) · 967 Bytes
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
name: Unit Tests
on:
- push
- pull_request
- workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
smalltalk:
- Pharo64-9.0
- Pharo64-10
- Pharo64-11
- Pharo64-12
- Pharo64-13
name: ${{ matrix.smalltalk }}
steps:
- uses: actions/checkout@v4
- name: Install SQLite3
run: ./scripts/install-SQLite3.sh
- name: Set up Smalltalk CI
uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
- name: Load Image and Run Tests
run: smalltalkci -s ${{ matrix.smalltalk }} .smalltalkci/.unit.ston
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
timeout-minutes: 15
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
name: Unit-Tests-${{matrix.smalltalk}}
token: ${{ secrets.CODECOV_TOKEN }}