From 203693c247a8d176c549359c5d975453e111e249 Mon Sep 17 00:00:00 2001 From: infogulch Date: Mon, 6 Jan 2025 19:06:41 -0600 Subject: [PATCH] Add logging to caddy tester; always upload logs in GH ci --- .github/workflows/ci.yaml | 8 +++++--- test/caddy.json | 7 +++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b36e5ee..5abe416 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -26,12 +26,14 @@ jobs: # CUE_DEBUG_TOOLS_FLOW=true cue cmd ci - run: cue cmd ci - - uses: actions/upload-artifact@v4 + - name: Archive test results + uses: actions/upload-artifact@v4 + if: always() with: name: logs path: | - test/*.log - test/report/ + test/**/*.log + test/**/report/ - uses: actions/upload-artifact@v4 with: diff --git a/test/caddy.json b/test/caddy.json index a4c60f6..9f9012f 100644 --- a/test/caddy.json +++ b/test/caddy.json @@ -61,5 +61,12 @@ } } } + }, + "logging": { + "logs": { + "": { + "level": "DEBUG" + } + } } } \ No newline at end of file