1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Add checker results as GH artifact for integration test

* Rename and upload checker-result.html to GH.
This commit is contained in:
Bernhard E. Reiter 2022-05-17 10:18:50 +02:00 committed by GitHub
parent b8a6c1914a
commit 3e79671bb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 3 deletions

View file

@ -27,3 +27,10 @@ jobs:
./setupProviderForITest.sh ./setupProviderForITest.sh
./testAggregator.sh ./testAggregator.sh
shell: bash shell: bash
- name: Upload test results
uses: actions/upload-artifact@v3
with:
name: checker-results
path: ~/checker-results.html
if-no-files-found: error

View file

@ -10,10 +10,11 @@
set -e # to exit if a command in the script fails set -e # to exit if a command in the script fails
echo ==== run checker
cd ~/csaf_distribution 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 \ --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