-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (46 loc) · 1.29 KB
/
PostgreSQL-Integration-Tests.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
43
44
45
46
name: PostgreSQL Integration Tests
on:
- push
- pull_request
- workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
smalltalk:
- Pharo64-9.0
- Pharo64-10
- Pharo64-11
rdbms:
- PostgreSQLv9.4
- PostgreSQLv9.5
- PostgreSQLv9.6
- PostgreSQLv10
- PostgreSQLv11
- PostgreSQLv12
- PostgreSQLv13
- PostgreSQLv14
- PostgreSQLv15
name: ${{ matrix.smalltalk }} + ${{ matrix.rdbms }}
steps:
- uses: actions/checkout@v4
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
- name: Set up PostgreSQL
run: ./scripts/setup-PostgreSQL.sh
env:
RDBMS: ${{ matrix.rdbms }}
- name: Load Image and Run Tests
run: smalltalkci -s ${{ matrix.smalltalk }} .smalltalkci/.unit-tests.ston
timeout-minutes: 15
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RDBMS: ${{ matrix.rdbms }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
name: Integration-Tests-${{matrix.rdbms}}-${{matrix.smalltalk}}
token: ${{ secrets.CODECOV_TOKEN }}