Update and rename ci.yml to main.yml

This commit is contained in:
Brad Van Vugt 2020-01-03 15:32:27 -08:00 committed by GitHub
parent 9e11ef95c8
commit 6af2480a30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}