Skip to content

Merge pull request #120 from dictybase-docker/dependabot/go_modules/g… #314

Merge pull request #120 from dictybase-docker/dependabot/go_modules/g…

Merge pull request #120 from dictybase-docker/dependabot/go_modules/g… #314

Workflow file for this run

name: Continuous build
on:
push:
branches:
- develop
pull_request:
branches:
- "**"
jobs:
test:
runs-on: ubuntu-20.04
steps:
- name: check out code
uses: actions/checkout@v3
- name: set up golang
uses: actions/setup-go@v3
with:
go-version: "^1.18"
- name: unit test
run: go test -parallel 4 -covermode=atomic -coverprofile=profile.cov -v ./...
- name: upload coverage to codecov
uses: codecov/codecov-action@v1
with:
file: ./profile.cov
token: ${{ secrets.CODECOV_TOKEN }}