diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb6473b..ceeabb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: uses: golangci/golangci-lint-action@v3 - name: Run tests - run: go test -run=. -race -v -covermode=atomic -coverprofile=./tmp/cover_test.txt ./... + run: go test -run=. -race -v -covermode=atomic -coverprofile=./cover_test.txt ./... - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 @@ -33,6 +33,6 @@ jobs: GO: ${{ matrix.go }} with: env_vars: os,go - files: ./tmp/cover_test.txt + files: ./cover_test.txt flags: unittests verbose: true diff --git a/.gitignore b/.gitignore index 8b2ff97..a9136a2 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,9 @@ # temporary files tmp +# coverage +cover_test.txt + # editors .idea .vscode