diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..a08f432 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,38 @@ +name: CI + +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +on: + push: + branches: + - main + - WorkOfTrainee + pull_request: + branches: + - main + - WorkOfTrainee +jobs: + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + smalltalk: [ Moose64-12, Moose64-13 ] + name: ${{ matrix.smalltalk }} + steps: + - uses: actions/checkout@v7 + - uses: hpi-swa/setup-smalltalkCI@v1 + with: + smalltalk-image: ${{ matrix.smalltalk }} + - run: smalltalkci -s ${{ matrix.smalltalk }} + shell: bash + timeout-minutes: 15 + + - name: Coveralls + uses: coverallsapp/github-action@v2 + if: ${{ matrix.smalltalk == 'Pharo64-12' }} + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + file: ./coverage/lcov.info + format: lcov