mirror of
https://github.com/falcosecurity/falco.git
synced 2026-04-02 18:12:15 +00:00
Compare commits
1 Commits
update/lib
...
fix_CI_4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8680182c5 |
29
.github/workflows/reusable_test_packages.yaml
vendored
29
.github/workflows/reusable_test_packages.yaml
vendored
@@ -76,19 +76,36 @@ jobs:
|
|||||||
go generate ./...
|
go generate ./...
|
||||||
popd
|
popd
|
||||||
|
|
||||||
- name: Run regression tests
|
- name: Run Falco regression tests
|
||||||
env:
|
env:
|
||||||
# fixme(leogr): this is a workaround for https://github.com/falcosecurity/falco/issues/2784
|
|
||||||
HOST_ROOT: ""
|
HOST_ROOT: ""
|
||||||
run: |
|
run: |
|
||||||
pushd submodules/falcosecurity-testing
|
pushd submodules/falcosecurity-testing
|
||||||
./build/falco.test -falco-static=${{ inputs.static && 'true' || 'false' }} -test.timeout=90s -test.v >> ./report.txt 2>&1 || true
|
./build/falco.test -falco-static=${{ inputs.static && 'true' || 'false' }} -test.timeout=90s -test.v >> ./report.txt 2>&1 || true
|
||||||
if ${{ inputs.static && 'false' || 'true' }}; then
|
popd
|
||||||
|
|
||||||
|
- name: Run Falcoctl regression tests
|
||||||
|
env:
|
||||||
|
HOST_ROOT: ""
|
||||||
|
run: |
|
||||||
|
pushd submodules/falcosecurity-testing
|
||||||
./build/falcoctl.test -test.timeout=90s -test.v >> ./report.txt 2>&1 || true
|
./build/falcoctl.test -test.timeout=90s -test.v >> ./report.txt 2>&1 || true
|
||||||
|
popd
|
||||||
|
|
||||||
|
- name: Run K8saudit regression tests
|
||||||
|
env:
|
||||||
|
HOST_ROOT: ""
|
||||||
|
run: |
|
||||||
|
pushd submodules/falcosecurity-testing
|
||||||
./build/k8saudit.test -test.timeout=90s -test.v >> ./report.txt 2>&1 || true
|
./build/k8saudit.test -test.timeout=90s -test.v >> ./report.txt 2>&1 || true
|
||||||
sudo ./build/falco-driver-loader.test -test.timeout=90s -test.v >> ./report.txt 2>&1 || true
|
popd
|
||||||
fi
|
|
||||||
cat ./report.txt | go-junit-report -set-exit-code > report.xml
|
- name: Run Falco driver loader regression tests
|
||||||
|
env:
|
||||||
|
HOST_ROOT: ""
|
||||||
|
run: |
|
||||||
|
pushd submodules/falcosecurity-testing
|
||||||
|
sudo ./build/falco-driver-loader.test -test.timeout=90s -test.v
|
||||||
popd
|
popd
|
||||||
|
|
||||||
- name: Test Summary
|
- name: Test Summary
|
||||||
|
|||||||
Reference in New Issue
Block a user