Skip to content

Commit 6ed5084

Browse files
authored
To add missing file for coverage (#2318)
1 parent 4ac6ecb commit 6ed5084

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/jobs.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,13 @@ jobs:
8585
./replication/coverage/
8686
key: ${{ runner.os }}-replication-coverage-2-${{ github.run_id }}
8787

88+
# To save our replication.out file into an artifact.
89+
# By default, GitHub stores build logs and artifacts for 90 days.
90+
- uses: actions/upload-artifact@v3
91+
with:
92+
name: replication-artifact
93+
path: ./replication/coverage/replication.out
94+
8895
sso-integration:
8996

9097
name: SSO Integration Test
@@ -1807,6 +1814,12 @@ jobs:
18071814
./pkg/coverage/
18081815
key: ${{ runner.os }}-coverage-pkg-2-${{ github.run_id }}
18091816

1817+
# Get the replication.out file from the artifact since this is working for self host runner.
1818+
- uses: actions/download-artifact@v3
1819+
with:
1820+
name: replication-artifact
1821+
path: replication/coverage
1822+
18101823
- name: Get coverage
18111824
run: |
18121825
echo "change directory to gocovmerge"

0 commit comments

Comments
 (0)