Skip to content

Commit

Permalink
Update action.yml
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 May 13, 2024
1 parent 05f4926 commit caba98b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,17 @@ runs:
shell: bash
run: |
if ${{ inputs.test-falco == 'true' }}; then
./build/falco.test -falco-static=${{ inputs.static }} -test.timeout=90s -test.v >> ./report.txt 2>&1 || true
./build/falco.test -falco-static=${{ inputs.static }} -test.timeout=180s -test.v >> ./report.txt 2>&1 || true
fi
if ${{ inputs.static == 'false' }}; then
if ${{ inputs.test-falcoctl == 'true' }}; then
./build/falcoctl.test -test.timeout=90s -test.v >> ./report.txt 2>&1 || true
./build/falcoctl.test -test.timeout=180s -test.v >> ./report.txt 2>&1 || true
fi
if ${{ inputs.test-k8saudit == 'true' }}; then
./build/k8saudit.test -test.timeout=90s -test.v >> ./report.txt 2>&1 || true
./build/k8saudit.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=90s -test.v >> ./report.txt 2>&1 || true
${{ inputs.sudo }} ./build/falco-driver-loader.test -test.timeout=180s -test.v >> ./report.txt 2>&1 || true
fi
fi
cat ./report.txt | go-junit-report -set-exit-code > report.xml
Expand Down

0 comments on commit caba98b

Please sign in to comment.