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:
parent
b8a6c1914a
commit
3e79671bb5
2 changed files with 11 additions and 3 deletions
7
.github/workflows/itest.yml
vendored
7
.github/workflows/itest.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue