Skip to content

Commit

Permalink
Add logging to caddy tester; always upload logs in GH ci
Browse files Browse the repository at this point in the history
  • Loading branch information
infogulch committed Jan 7, 2025
1 parent e9c0554 commit 203693c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
7 changes: 7 additions & 0 deletions test/caddy.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,12 @@
}
}
}
},
"logging": {
"logs": {
"": {
"level": "DEBUG"
}
}
}
}

0 comments on commit 203693c

Please sign in to comment.