Skip to content

Commit

Permalink
chore(ci): enable dummy tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
  • Loading branch information
FedeDP authored and poiana committed Jun 4, 2024
1 parent e67e329 commit d18b516
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@ jobs:
test-falco: 'true'
test-falcoctl: 'true'
test-k8saudit: 'true'
test-dummy: 'true'
show-all: 'true'
sudo: ''
7 changes: 7 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ inputs:
description: 'Whether to run k8saudit tests. Default disabled.'
required: false
default: 'false'
test-dummy:
description: 'Whether to run dummy plugin tests. Default disabled.'
required: false
default: 'false'
test-drivers:
description: 'Whether to run drivers tests. Requires kernel headers to be installed. Default disabled.'
required: false
Expand Down Expand Up @@ -94,6 +98,9 @@ runs:
if ${{ inputs.test-k8saudit == 'true' }}; then
./build/k8saudit.test -test.timeout=180s -test.v >> ./report.txt 2>&1 || true
fi
if ${{ inputs.test-dummy == 'true' }}; then
./build/dummy.test -test.timeout=180s -test.v >> ./report.txt 2>&1 || true
fi
if ${{ inputs.test-drivers == 'true' }}; then
${{ inputs.sudo }} ./build/falco-driver-loader.test -test.timeout=180s -test.v >> ./report.txt 2>&1 || true
fi
Expand Down

0 comments on commit d18b516

Please sign in to comment.