diff --git a/.github/workflows/ci-docs.yaml b/.github/workflows/ci-docs.yaml index f22da601b..bc31364e1 100644 --- a/.github/workflows/ci-docs.yaml +++ b/.github/workflows/ci-docs.yaml @@ -24,6 +24,7 @@ on: - '!.github/workflows/e2e-macos.yaml' - '!.github/workflows/e2e-windows.yaml' - '!.github/workflows/e2e-linux.yaml' + - '!.github/workflows/ci.yaml' pull_request: branches: - main @@ -39,6 +40,7 @@ on: - '!.github/workflows/e2e-macos.yaml' - '!.github/workflows/e2e-windows.yaml' - '!.github/workflows/e2e-linux.yaml' + - '!.github/workflows/ci.yaml' jobs: git-secrets: diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8a940f611..6654b34ac 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -96,6 +96,8 @@ jobs: go-version-file: go.mod cache: false - run: make test-unit + - run: + go test -cover -coverprofile="coverage.out" ./cmd/... ./pkg/... # It's recommended to run golangci-lint in a job separate from other jobs (go test, etc) because different jobs run in parallel. go-linter: name: lint diff --git a/.github/workflows/e2e-linux.yaml b/.github/workflows/e2e-linux.yaml index ee3d3c1ff..a5a86cc8e 100644 --- a/.github/workflows/e2e-linux.yaml +++ b/.github/workflows/e2e-linux.yaml @@ -44,6 +44,7 @@ jobs: - name: Check repo out manually if: ${{ (startsWith(inputs.os, 'amazon') && inputs.version == '2' ) }} run: | + echo Hello git clone https://github.com/${GITHUB_REPOSITORY}.git . if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then git config --add remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"