Skip to content

Merge pull request #2 from elgohr-update/master #19

Merge pull request #2 from elgohr-update/master

Merge pull request #2 from elgohr-update/master #19

Workflow file for this run

# name of the action
name: test
# trigger on pull_request or push events
on:
pull_request:
push:
# pipeline to execute
jobs:
test:
runs-on: ubuntu-latest
container:
image: golang:latest
steps:
- name: clone
uses: actions/checkout@v2
- name: test
run: |
go test -race -covermode=atomic -coverprofile=coverage.out ./...
- name: coverage
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.out