Skip to content

Commit

Permalink
chore(ci): merge codecov workflow in unit tests (#2466)
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 authored Apr 6, 2022
1 parent f6bac28 commit 0370aa8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 75 deletions.
72 changes: 0 additions & 72 deletions .github/workflows/code-cov.yml

This file was deleted.

12 changes: 9 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,16 @@ jobs:
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Run unit tests
run: go test -short ./... -timeout=30m
run: go test -short -coverprofile=coverage.out -covermode=atomic -timeout=30m ./...

- name: Test State - Race
run: make test-state-race

- name: Run build
run: make build
- uses: codecov/[email protected]
with:
if_ci_failed: success
informational: true
files: ./coverage.out
flags: unit-tests
name: coverage
verbose: true

0 comments on commit 0370aa8

Please sign in to comment.