Skip to content
Merged
27 changes: 27 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
smalltalk: [Pharo64-13, Pharo64-12, Pharo64-11, Pharo64-10]
runs-on: ${{ matrix.os }}
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup SmalltalkCI
uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-version: ${{ matrix.smalltalk }}
- name: Load and Test
run: smalltalkci -s ${{ matrix.smalltalk }}
shell: bash
timeout-minutes: 15
43 changes: 0 additions & 43 deletions .github/workflows/runTests.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .smalltalk.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
SmalltalkCISpec {
#loading : [
SCIMetacelloLoadSpec {
#baseline : 'ContainersAVLTree',
#directory : 'src',
#platforms : [ #pharo ]
}
],
#testing : {
#coverage : {
#packages : [ 'Containers-AVL-Tree' ]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"
I am a baseline
I represent Baseline of AVL Tree
"
Class {
#name : 'BaselineOfContainersAVLTree',
Expand All @@ -10,22 +10,10 @@ Class {

{ #category : 'baselines' }
BaselineOfContainersAVLTree >> baseline: spec [

<baseline>
spec for: #common do: [ "Packages"
spec package: 'Containers-AVL-Tree'.
spec
package: 'Containers-AVL-Tree-Tests'
with: [ spec requires: #( 'Containers-AVL-Tree' ) ].
spec
package: 'Containers-AVL-Tree-Inspector'
with: [ spec requires: #( 'Containers-AVL-Tree' ) ].

"Define groups"
spec
group: 'Core'
with: #( 'Containers-AVL-Tree' 'Containers-AVL-Tree-Inspector' );
group: 'Tests' with: #( 'Containers-AVL-Tree-Tests' ).

spec group: 'default' with: #( 'Core' 'Tests' ) ]
]
<baseline>
spec for: #common do: [
spec package: 'Containers-AVL-Tree'.
spec
package: 'Containers-AVL-Tree-Tests'
with: [ spec requires: #( 'Containers-AVL-Tree' ) ] ]
]
Loading
Loading