Merge pull request #111 from ba-st/improvingTransactionsInRepositories #440
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |