From 6ed5084691be98b0f65eeabb4a0034588ea4117d Mon Sep 17 00:00:00 2001 From: Cesar Celis Hernandez Date: Thu, 15 Sep 2022 20:36:00 -0400 Subject: [PATCH] To add missing file for coverage (#2318) --- .github/workflows/jobs.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/jobs.yaml b/.github/workflows/jobs.yaml index 6cbf29bdd..56eb46dd6 100644 --- a/.github/workflows/jobs.yaml +++ b/.github/workflows/jobs.yaml @@ -85,6 +85,13 @@ jobs: ./replication/coverage/ key: ${{ runner.os }}-replication-coverage-2-${{ github.run_id }} + # To save our replication.out file into an artifact. + # By default, GitHub stores build logs and artifacts for 90 days. + - uses: actions/upload-artifact@v3 + with: + name: replication-artifact + path: ./replication/coverage/replication.out + sso-integration: name: SSO Integration Test @@ -1807,6 +1814,12 @@ jobs: ./pkg/coverage/ key: ${{ runner.os }}-coverage-pkg-2-${{ github.run_id }} + # Get the replication.out file from the artifact since this is working for self host runner. + - uses: actions/download-artifact@v3 + with: + name: replication-artifact + path: replication/coverage + - name: Get coverage run: | echo "change directory to gocovmerge"