From a06f6d7c30054cbc2e9b0fac91420ba0e4012d61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Dias?= Date: Wed, 10 Mar 2021 14:45:11 -0300 Subject: [PATCH] add ci (but tests still miss) --- .ci.ston | 14 ++++++++++++++ .github/workflows/test.yml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 .ci.ston create mode 100644 .github/workflows/test.yml diff --git a/.ci.ston b/.ci.ston new file mode 100644 index 0000000..3246717 --- /dev/null +++ b/.ci.ston @@ -0,0 +1,14 @@ +SmalltalkCISpec { + #loading : [ + SCIMetacelloLoadSpec { + #baseline : 'Memory', + #directory : 'src', + #platforms : [ #pharo ] + } + ], + #testing: { + #include : { + #packages : [ 'Bloc-Memory.*' ] + } + } +} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..d8d6784 --- /dev/null +++ b/.github/workflows/test.yml @@ -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