diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6e246f4..2710ea0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,10 +30,7 @@ jobs: go-version: ${{ matrix.go_version }} - name: Test - run: go test -v -coverprofile=normal-coverage.txt -covermode=atomic $(go list ./... | grep -v github.com/libi/dcron/e2e) - - - name: Test E2E - run: go test -v -coverprofile=e2e-coverage.txt -covermode=atomic ./e2e + run: go test -v -coverprofile=coverage.txt -covermode=atomic ./... - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 diff --git a/.gitignore b/.gitignore index 6ad0309..12bcf8c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ .idea .idea/* -bin/ \ No newline at end of file +bin/ +coverage.txt +coverage.html \ No newline at end of file