smalltalkCI #60
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: smalltalkCI | |
on: | |
push: | |
pull_request: | |
branches: | |
- master | |
schedule: | |
- cron: "15 2 10 * *" #run job on the 10th day of every month on the 15th minute of the 2nd hour | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
# os: [ ubuntu-20.04, macos-latest ] | |
os: [ ubuntu-20.04 ] | |
smalltalk: [ GemStone64-3.7.0, GemStone64-3.6.7, GemStone64-3.5.8 ] | |
experimental: [ false ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: hpi-swa/setup-smalltalkCI@v1 | |
with: | |
smalltalk-image: ${{ matrix.smalltalk }} | |
- name: Prepare for project new tests | |
run: git config --global user.email "you@example.com"; git config --global user.name "Your Name" | |
shell: bash | |
- name: Run tests | |
run: smalltalkci -s ${{ matrix.smalltalk }} | |
shell: bash | |
env: | |
GSCI_CLIENTS: Pharo-3.0 | |
timeout-minutes: 20 | |
slack-workflow-status: | |
if: always() | |
name: Post Workflow Status To Slack | |
needs: | |
- build | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Slack Workflow Notification | |
uses: Gamesight/slack-workflow-status@master | |
with: | |
repo_token: ${{secrets.GITHUB_TOKEN}} | |
slack_webhook_url: ${{secrets.SLACK_DALEHENRICH}} | |
name: 'action run' |