Compare commits

...
3 Commits
Author SHA1 Message Date
Pavel Zwerschke c3e865a194 ? 2023-11-16 01:21:32 +01:00
Pavel Zwerschke 5b18bdc1e0 ACTIONS_RUNNER_DEBUG 2023-11-16 01:16:31 +01:00
Pavel Zwerschke 907eb83951 Add debug test 2023-11-16 01:14:04 +01:00
2 changed files with 17 additions and 2 deletions
+15
View File
@@ -390,6 +390,21 @@ jobs:
pixi run python --version | grep -q 3.11
pixi run test | grep -q "Hello world"
debug:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Move pixi.toml
run: mv test/default/* .
# test that setup-pixi does debug logging
- uses: ./
env:
ACTIONS_STEP_DEBUG: true
- run: pixi run python --version | grep -q 3.11
test-cache1:
name: Test cache 1/2
timeout-minutes: 10
+2 -2
View File
@@ -164,12 +164,12 @@ There are two types of debug logging that you can enable.
#### Debug logging of the action
The first one is the debug logging of the action itself.
This can be enabled by running the action with the `RUNNER_DEBUG` environment variable set to `true`.
This can be enabled by running the action with the `ACTIONS_RUNNER_DEBUG` environment variable set to `true`.
```yml
- uses: prefix-dev/setup-pixi@v0.4.1
env:
RUNNER_DEBUG: true
ACTIONS_RUNNER_DEBUG: true
```
Alternatively, you can enable debug logging for the action by re-running the action in debug mode: