Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Jun 14, 2023
1 parent c1bbf45 commit 004bcd6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on: [ push, pull_request, workflow_dispatch ]

jobs:
test:
strategy:
matrix:
pharo-version: [ Pharo64-11, Pharo64-12 ]
ston: [ .smalltalk.ston ]
mongodb-version: [ latest ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
name: ${{ matrix.ston }}, ${{ matrix.pharo-version }}, ${{ matrix.mongodb-version }}
steps:
- uses: actions/checkout@v3

- name: Create mongoDB Docker container
run: sudo docker run -d -p 27017:27017 mongo:latest

- name: Setup SmalltalkCI
uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.pharo-version }}

- name: Get Pharo and Run Tests
run: smalltalkci -s ${{ matrix.pharo-version }} ${{ matrix.ston }}
shell: bash
timeout-minutes: 40
5 changes: 1 addition & 4 deletions .smalltalk.ston
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
SmalltalkCISpec {
#preLoading: 'scripts/preLoading.st',
#loading : [
SCIMetacelloLoadSpec {
#baseline : 'Voyage',
#directory : 'mc',
#load : [ 'mongo tests', 'memory tests' ],
#platforms : [ #pharo ]
}
],
#preTesting: 'scripts/preTesting.st'
]
}

0 comments on commit 004bcd6

Please sign in to comment.