mirror of
https://github.com/prefix-dev/setup-pixi
synced 2026-10-08 15:04:08 +03:00
Compare commits
3
Commits
v0.4.3
...
debug-test
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c3e865a194 | ||
|
|
5b18bdc1e0 | ||
|
|
907eb83951 |
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user