Skip to content

Merge pull request #5 from 0x19/unit-tests #38

Merge pull request #5 from 0x19/unit-tests

Merge pull request #5 from 0x19/unit-tests #38

Workflow file for this run

on: [push]
jobs:
test:
runs-on: ubuntu-latest
env:
SOLC_SWITCH_GITHUB_TOKEN: ${{ secrets.SOLC_SWITCH_GITHUB_TOKEN }}
strategy:
fail-fast: false
matrix:
go:
- '1.19'
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v3
- run: make submodules
- name: Run Coverage Profile
run: |
go test -v -coverprofile=profile.cov ./...
- name: Send coverage
uses: shogo82148/actions-goveralls@v1.7.0
with:
path-to-profile: profile.cov
flag-name: Go-${{ matrix.go }}
parallel: true
# notifies that all test jobs are finished.
finish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: shogo82148/actions-goveralls@v1.7.0
with:
parallel-finished: true