Merge 4e988e6ed7de7d52ba4ae42c398723e5c04fbf30 #2358
This file contains hidden or 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-12, Pharo64-13 ] | |
os: [ 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 |