Skip to content

Commit

Permalink
Upload rust upstream coverage to be stored as an artifact
Browse files Browse the repository at this point in the history
This adds a line to upload the upstream coverage report file as an
artifact.

Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
  • Loading branch information
ansasaki committed Jan 17, 2025
1 parent 17fe787 commit 17418f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup/generate_upstream_rust_keylime_code_coverage/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ rlJournalStart
rlRun "grcov . --binary-path /usr/bin/ -s /var/tmp/rust-keylime_sources -t lcov --ignore-not-existing -o e2e_coverage.txt"
# create tar file for uploading coverage file
rlRun "tar -czf e2e_coverage.tar.gz e2e_coverage.html"
rlFileSubmit e2e_coverage.tar.gz
rlFileSubmit e2e_coverage.tar.gz
rlFileSubmit e2e_coverage.txt
rlFileSubmit upstream_coverage.xml
if [ -f "e2e_coverage.tar.gz" ]; then
# upload e2e report in tar.gz
URL=$( uploadServiceUpload -v $UPLOAD_SERVICE e2e_coverage.tar.gz )
Expand Down

0 comments on commit 17418f2

Please sign in to comment.