diff --git a/action.yml b/action.yml index 22b761b..5c4599f 100644 --- a/action.yml +++ b/action.yml @@ -34,7 +34,10 @@ inputs: outputs: report: description: "Generated report xml" - value: ${{ steps.store-outputs.outputs.report }} + value: ${{ steps.store-outputs.outputs.report }} + out_file: + description: "Full tests output file" + value: ${{ steps.store-outputs.outputs.report_txt }} runs: using: "composite" @@ -81,17 +84,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 @@ -103,6 +106,7 @@ runs: if: always() run: | echo "report=$(realpath report.xml)" >> $GITHUB_OUTPUT + echo "report_txt=$(realpath report.txt)" >> $GITHUB_OUTPUT - name: Test Summary if: always() # note: upload the report even if tests fail @@ -116,4 +120,6 @@ runs: uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 with: name: falcosecurity-testing-report-${{ runner.arch }} - path: ${{ steps.store-outputs.outputs.report }} + path: | + ${{ steps.store-outputs.outputs.report }} + ${{ steps.store-outputs.outputs.report_txt }}