From b72c2c86dc9f8a465d2b00ba17e2aa8c788c832f Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Thu, 26 Jun 2025 11:08:45 +1000 Subject: [PATCH] Add debug variable for manual workflow runs --- .github/workflows/ci-reusable.yml | 2 +- .github/workflows/ci.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-reusable.yml b/.github/workflows/ci-reusable.yml index 0be0ddb4..31b836ff 100644 --- a/.github/workflows/ci-reusable.yml +++ b/.github/workflows/ci-reusable.yml @@ -117,7 +117,7 @@ jobs: ## Part 3 Tests ## - name: Integration tests if: matrix.tests == 'integration' || matrix.tests == 'all' - run: make -j${ncpu} PARALLEL=${{ env.PARALLEL }} DEBUG=${{ runner.debug }} testIntegration + run: make -j${ncpu} PARALLEL=${{ env.PARALLEL }} DEBUG=${{ inputs.debug }} testIntegration - name: Upload integration tests log files uses: actions/upload-artifact@v4 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5d94f98..e3855431 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,12 @@ on: - master pull_request: workflow_dispatch: + inputs: + debug: + description: 'Enable debug logging' + required: false + type: boolean + default: false env: cache_nonce: 0 # Allows for easily busting actions/cache caches