Skip to content

test: add test-coveage reporting #26

test: add test-coveage reporting

test: add test-coveage reporting #26

Workflow file for this run

name: KindeWorkflowsRuntime
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
- name: Test
run: go test -v ./...
- id: govulncheck
uses: golang/govulncheck-action@v1
with:
go-package: ./...
- name: Run tests
run: go test -coverprofile=coverage.txt

Check failure on line 30 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 30
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}