Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

test: update proto definitions #302

test: update proto definitions

test: update proto definitions #302

Workflow file for this run

name: Coverage
on: [push, pull_request]
jobs:
codecov:
name: codecov
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.botGitHubToken }}
- name: Load .env file
uses: cardinalby/export-env-action@v2
with:
envFile: .env
expand: true
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GOLANG_VERSION }}
- uses: actions/checkout@v3
- name: Generate coverage report
run: |
go mod tidy
go test -race ./... -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage report
uses: codecov/codecov-action@v2
with:
file: ./coverage.txt
flags: unittests
name: codecov-umbrella