Skip to content

Commit

Permalink
Update build to use official smalltalkCI
Browse files Browse the repository at this point in the history
  • Loading branch information
gcotelli committed Nov 17, 2020
1 parent 3ffc6ae commit 50e9ea2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Build

on:
pull_request:
push:
on: [push,pull_request]

jobs:
build:
Expand All @@ -13,14 +11,16 @@ jobs:
name: ${{ matrix.smalltalk }}
steps:
- uses: actions/checkout@v2
- uses: ba-st-actions/setup-smalltalkCI@v1.0.0
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-version: ${{ matrix.smalltalk }}
- run: smalltalkci -s ${{ matrix.smalltalk }}
- name: Load Image and Run Tests
run: smalltalkci -s ${{ matrix.smalltalk }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
timeout-minutes: 15
- run: echo "::set-env name=SCI_COVERAGE_FILE_LOCATION::${HOME}/.smalltalkCI/_builds/coveralls_results.json"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.0.6
uses: codecov/codecov-action@v1
with:
name: ${{matrix.os}}-${{matrix.smalltalk}}
token: ${{ secrets.CODECOV_TOKEN }}
file: ${{ env.SCI_COVERAGE_FILE_LOCATION }}

0 comments on commit 50e9ea2

Please sign in to comment.