Merge 09a082a261f8017fcdcf2c9323af39ce33231c54 #1066
Workflow file for this run
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 | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
ston: [ .ci.ston ] | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.smalltalk }} on ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
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 }} ${{ matrix.ston }} | |
shell: bash | |
timeout-minutes: 10 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Upload logs | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Logs | |
path: | | |
*.fuel | |
PharoDebug.log | |
retention-days: 3 |