Skip to content

Commit

Permalink
add coverage to test step
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardo2204 committed Apr 6, 2021
1 parent 0aacf14 commit 1f2582a
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,15 @@ jobs:
- name: Setup ci
run: make setup-ci
- name: Test
run: make schema-update assets migrate-test run-test
run: make schema-update assets migrate-test run-test coverage
- name: Install goveralls
env:
GO111MODULE: off
run: go get github.com/mattn/goveralls
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile coverage-all.out -service=github
performance:
runs-on: ubuntu-latest
services:
Expand Down Expand Up @@ -110,17 +118,7 @@ jobs:
node port: 9300
discovery type: single-node
- name: Performance test
run: |
make ci-perf
make coverage
- name: Install goveralls
env:
GO111MODULE: off
run: go get github.com/mattn/goveralls
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile coverage-all.out -service=github
run: make ci-perf
build_and_deploy_khan:
needs:
- tests
Expand Down

0 comments on commit 1f2582a

Please sign in to comment.