Update and rename ci.yml to main.yml
This commit is contained in:
parent
9e11ef95c8
commit
6af2480a30
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ jobs:
|
||||||
- name: go test
|
- name: go test
|
||||||
run: go test -race -coverprofile=coverage.txt ./...
|
run: go test -race -coverprofile=coverage.txt ./...
|
||||||
- name: upload to codecov
|
- name: upload to codecov
|
||||||
|
if: github.event_name == 'push'
|
||||||
uses: codecov/codecov-action@v1
|
uses: codecov/codecov-action@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue