mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
39 lines
1 KiB
YAML
39 lines
1 KiB
YAML
name: Integration tests
|
|
on: workflow_dispatch
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.19.1
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Execute the scripts
|
|
run: |
|
|
sudo apt install -y make nginx fcgiwrap gnutls-bin
|
|
cp -r $GITHUB_WORKSPACE ~
|
|
cd ~
|
|
cd csaf_distribution/docs/scripts/
|
|
# keep in sync with docs/scripts/Readme.md
|
|
export FOLDERNAME=devca1 ORGANAME="CSAF Tools Development (internal)"
|
|
source ./TLSConfigsForITest.sh
|
|
./TLSClientConfigsForITest.sh
|
|
./setupProviderForITest.sh
|
|
./testAggregator.sh
|
|
./testDownloader.sh
|
|
shell: bash
|
|
|
|
- name: Upload test results
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: checker-results
|
|
path: |
|
|
~/checker-results.html
|
|
~/checker-results-no-clientcert.json
|
|
if-no-files-found: error
|