Merge pull request #67 from ba-st/udpate_deps #138
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: Unit Tests | |
on: | |
- push | |
- pull_request | |
- workflow_dispatch | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
smalltalk: | |
- Pharo64-11 | |
- Pharo64-10 | |
name: ${{ matrix.smalltalk }} | |
services: | |
httpbin: | |
image: fortizpenaloza/httpbin | |
ports: | |
- 127.0.0.1:80:80 | |
memcached: | |
image: memcached:1.6.7-alpine | |
ports: | |
- 127.0.0.1:11211:11211 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: hpi-swa/setup-smalltalkCI@v1 | |
with: | |
smalltalk-image: ${{ matrix.smalltalk }} | |
- name: Load Image and Run Tests | |
run: smalltalkci -s ${{ matrix.smalltalk }} .smalltalkci/.unit-tests.ston | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
timeout-minutes: 15 | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
name: Unit-Tests-${{matrix.smalltalk}} | |
token: ${{ secrets.CODECOV_TOKEN }} |