Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
Add CI as GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchodias committed May 25, 2021
1 parent 0c0de8f commit 18234b8
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .ci.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
SmalltalkCISpec {
#loading : [
SCIMetacelloLoadSpec {
#baseline : 'SpecBrick',
#directory : 'src',
#platforms : [ #pharo ]
}
],
#testing: {
#include : {
#packages : [ 'Spec-Brick.*' ]
}
}
}
23 changes: 23 additions & 0 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on: [ push, pull_request, workflow_dispatch ]

jobs:
test:
strategy:
# Default value means that a failure in one OS cancels all
fail-fast: false
matrix:
smalltalk: [ Pharo64-9.0 ]
os: [ macos-latest, ubuntu-latest, windows-latest ]
ston: [ .ci.ston ]
runs-on: ${{ matrix.os }}
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- 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

0 comments on commit 18234b8

Please sign in to comment.