Skip to content

Merge pull request #45 from FIWARE/did-elsi #368

Merge pull request #45 from FIWARE/did-elsi

Merge pull request #45 from FIWARE/did-elsi #368

Workflow file for this run

name: Test
on:
push
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Install coveralls dependencies
run: |
go get github.com/mattn/goveralls
go get github.com/go-playground/validator/v10
# Build fails due to libs missing in goroot, even when they are in the go.mod file
- name: Workaround
run: |
go get github.com/gookit/[email protected]
go get github.com/gookit/goutil/[email protected]
- name: Go test
run: |
go test ./... -v -coverprofile=profile.cov ./...
- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov