Skip to content

Merge pull request #120 from multani/update-service-tags #86

Merge pull request #120 from multani/update-service-tags

Merge pull request #120 from multani/update-service-tags #86

Workflow file for this run

name: test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
ci-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-latest, windows-latest, ubuntu-latest ]
go: [ 1.12, 1.13, 1.14 ]
steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: Set up golang with version ${{ matrix.go }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Run tests
run: go test -v -coverprofile=covprofile ./...
- name: Send coverage
if: ${{ matrix.os == 'macos-latest' && matrix.go == '1.14'}}
uses: shogo82148/[email protected]
with:
path-to-profile: covprofile