From 3e79671bb5a4c17a7f02aaafda509993590a6aff Mon Sep 17 00:00:00 2001 From: "Bernhard E. Reiter" Date: Tue, 17 May 2022 10:18:50 +0200 Subject: [PATCH] Add checker results as GH artifact for integration test * Rename and upload checker-result.html to GH. --- .github/workflows/itest.yml | 7 +++++++ docs/scripts/testChecker.sh | 7 ++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/itest.yml b/.github/workflows/itest.yml index a457eb1..e491cf0 100644 --- a/.github/workflows/itest.yml +++ b/.github/workflows/itest.yml @@ -27,3 +27,10 @@ jobs: ./setupProviderForITest.sh ./testAggregator.sh shell: bash + + - name: Upload test results + uses: actions/upload-artifact@v3 + with: + name: checker-results + path: ~/checker-results.html + if-no-files-found: error diff --git a/docs/scripts/testChecker.sh b/docs/scripts/testChecker.sh index 12bd5c2..4638d7a 100755 --- a/docs/scripts/testChecker.sh +++ b/docs/scripts/testChecker.sh @@ -10,10 +10,11 @@ set -e # to exit if a command in the script fails +echo ==== run checker cd ~/csaf_distribution -./bin-linux-amd64/csaf_checker -o show.html --insecure \ +./bin-linux-amd64/csaf_checker -o ../checker-results.html --insecure \ --client-cert ~/devca1/testclient1.crt --client-key \ -~/devca1/testclient1-key.pem localhost -f html \ +~/devca1/testclient1-key.pem localhost -f html -cat show.html +cat ../checker-results.html