Merge 04f2c844709ad3a5fdcc9e72ca1472d375842bf6 #2036
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: Tests | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 8 * * 1" # Run every Monday at 08:00 | |
jobs: | |
test: | |
strategy: | |
# Default value means that a failure in one OS cancels all | |
fail-fast: false | |
matrix: | |
smalltalk: [ Pharo64-11, Pharo64-12, Pharo64-13 ] | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.smalltalk }} on ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup smalltalkCI | |
uses: hpi-swa/setup-smalltalkCI@v1 | |
with: | |
smalltalk-image: ${{ matrix.smalltalk }} | |
- name: Load in New Image and Run Tests | |
run: smalltalkci -s ${{ matrix.smalltalk }} .ci.ston | |
shell: bash | |
timeout-minutes: 10 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Upload logs | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Logs_${{ matrix.smalltalk }}_${{ matrix.os }} | |
path: | | |
*.fuel | |
PharoDebug.log | |
retention-days: 3 |