Skip to content

Commit

Permalink
add ci (but tests still miss)
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchodias committed Mar 10, 2021
1 parent d88be9a commit a06f6d7
Show file tree
Hide file tree
Showing 2 changed files with 44 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 : 'Memory',
#directory : 'src',
#platforms : [ #pharo ]
}
],
#testing: {
#include : {
#packages : [ 'Bloc-Memory.*' ]
}
}
}
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Complete Test

on:
push:
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
test:
strategy:
# Default value means that a failure in one OS cancels all
fail-fast: false
matrix:
smalltalk: [ Pharo64-8.0, 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-version: ${{ matrix.smalltalk }}
- name: Load Image and Run Tests
run: smalltalkci -s ${{ matrix.smalltalk }} ${{ matrix.ston }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
timeout-minutes: 10

0 comments on commit a06f6d7

Please sign in to comment.