Skip to content

Null config for testing #435

Null config for testing

Null config for testing #435

Workflow file for this run

name: Pharo Unit Tests
on:
- push
- pull_request
- workflow_dispatch
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
smalltalk:
- Pharo64-10
- Pharo64-11
- Pharo64-9.0
- Pharo64-8.0
name: ${{ matrix.smalltalk }}
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: Set image and VM location
id: set-image-and-vm-location
run: |
echo "::set-output name=SMALLTALK_CI_VM::${HOME}/.smalltalkCI/_builds/vm"
echo "::set-output name=SMALLTALK_CI_IMAGE::${HOME}/.smalltalkCI/_builds/TravisCI.image"
- name: Run Shell Tests
run: cd scripts && ./test.sh
env:
SMALLTALK_CI_VM: ${{ steps.set-image-and-vm-location.outputs.SMALLTALK_CI_VM }}
SMALLTALK_CI_IMAGE: ${{ steps.set-image-and-vm-location.outputs.SMALLTALK_CI_IMAGE }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
name: Unit-Tests-${{matrix.smalltalk}}
token: ${{ secrets.CODECOV_TOKEN }}