From: Laszlo Gombos Date: Thu, 1 Dec 2022 16:34:13 +0000 (+0000) Subject: ci: set DEBUGFAIL to rd.debug when debug logging is enabled X-Git-Tag: 058~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d0a5b039dd02400d4203717c4cfa45dcd369845c;p=thirdparty%2Fdracut.git ci: set DEBUGFAIL to rd.debug when debug logging is enabled GitHub Actions allow to opt-in to more debug logging both on web UI and on the command line. When GitHub Action debug logging is enabled also enable additional dracut test debugging by setting DEBUGFAIL to rd.debug. This is particularly useful when re-run failed jobs with debug logging enabled. --- diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 9d7c0aea4..159f6636c 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -4,6 +4,9 @@ on: pull_request: branches: [ master ] +env: + DEBUGFAIL: "${{ secrets.ACTIONS_STEP_DEBUG && 'rd.debug' }}" + jobs: basic: runs-on: ubuntu-latest