ci: use stable image/vm for squeak60 #471
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 & Benchmarks | |
on: [push, workflow_dispatch] | |
env: | |
SMALLTALK_IMAGE: Squeak64-6.0 | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- id: smalltalkci | |
uses: hpi-swa/setup-smalltalkCI@v1 | |
with: | |
smalltalk-image: ${{ env.SMALLTALK_IMAGE }} | |
- name: Run tests | |
run: smalltalkci -s "${{ steps.smalltalkci.outputs.smalltalk-image }}" tests.smalltalk.ston | |
timeout-minutes: 15 | |
env: | |
# for uploading coverage reports | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
benchmarks: | |
runs-on: ubuntu-latest | |
needs: test | |
steps: | |
- uses: actions/checkout@v2 | |
- id: smalltalkci | |
uses: hpi-swa/setup-smalltalkCI@v1 | |
with: | |
smalltalk-image: ${{ env.SMALLTALK_IMAGE }} | |
- name: Run benchmarks | |
run: smalltalkci -s ${{ steps.smalltalkci.outputs.smalltalk-image }} benchmarks.smalltalk.ston | |
timeout-minutes: 15 | |
env: | |
TDB_BENCHMARK_RESULTS_PATH: ${{ runner.temp }}/benchmark-data.json | |
- name: Download previous benchmark data | |
uses: actions/cache@v1 | |
with: | |
path: ./cache | |
key: ${{ runner.os }}-benchmark | |
- name: Store benchmark data | |
uses: benchmark-action/github-action-benchmark@v1 | |
with: | |
tool: customSmallerIsBetter | |
output-file-path: ${{ runner.temp }}/benchmark-data.json | |
auto-push: true | |
gh-pages-branch: gh-pages | |
comment-always: false | |
fail-on-alert: false | |
alert-threshold: "150%" | |
github-token: ${{ secrets.GITHUB_TOKEN }} |