Skip to content

Revert "Update templates.go" #297

Revert "Update templates.go"

Revert "Update templates.go" #297

Workflow file for this run

name: codecov
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test-and-upstream:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Before Install
run: |
pip install requests
- name: Run Tests And Upload
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
GO111MODULE: 'auto'
run: |
echo ${CODECOV_TOKEN}
go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${CODECOV_TOKEN}