From 16a28c6ff439990744e8dbee6268abd34df08111 Mon Sep 17 00:00:00 2001 From: Benoit Verhaeghe Date: Fri, 14 Jun 2024 15:06:16 +0200 Subject: [PATCH] add coverage --- .github/workflows/ci-moose11.yml | 8 ++++++++ .smalltalk.ston | 7 +++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-moose11.yml b/.github/workflows/ci-moose11.yml index 6c87065..4f0a089 100644 --- a/.github/workflows/ci-moose11.yml +++ b/.github/workflows/ci-moose11.yml @@ -1,5 +1,8 @@ name: CI +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + on: push: branches: @@ -26,6 +29,11 @@ jobs: shell: bash timeout-minutes: 15 + - name: Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + - name: Build meta-model planuml image run: | $SMALLTALK_CI_VM $SMALLTALK_CI_IMAGE st ./ci/generatePUML.st diff --git a/.smalltalk.ston b/.smalltalk.ston index 8853d09..ae3730a 100644 --- a/.smalltalk.ston +++ b/.smalltalk.ston @@ -10,7 +10,10 @@ SmalltalkCISpec { } ], #testing: { - #packages : [ 'GitLab*' ], - #failOnZeroTests : false + #packages : [ 'GitLab*', 'GLPH.*', 'GitHub.*' ], + #coverage : { + #packages : [ 'GitLab.*', 'GLPH.*', 'GitHub.*' ], + #format : #lcov + } } }