Measure coverage

This commit is contained in:
Masaaki Goshima 2020-12-30 17:55:52 +09:00
parent cc45937ab1
commit 1b13407cee
1 changed files with 5 additions and 1 deletions

View File

@ -19,7 +19,11 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Test - name: Test
run: go test -v ./ -count=1 run: go test -v -coverprofile=coverage.out ./ -count=1
- name: Report coverage
run: |
bash <(curl -s https://codecov.io/bash)
# - name: Test with GC # - name: Test with GC
# run: go test -v ./ -count=1 # run: go test -v ./ -count=1