Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): Use TRACE logging for tests run by nextest #1902

Merged
merged 2 commits into from
Dec 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,18 @@ jobs:
RUST_LOG: ${{ runner.debug && 'DEBUG' || 'INFO'}}

- name: tests
run: cargo nextest run --workspace ${{ env.FEATURES }} --lib --bins --tests
run: |
cargo nextest run --workspace ${{ env.FEATURES }} --lib --bins --tests
env:
RUST_LOG: ${{ runner.debug && 'DEBUG' || 'INFO'}}
RUST_LOG: "TRACE"

- name: doctests
if: ${{ matrix.features == 'all' }}
run: cargo test --workspace --all-features --doc
env:
RUST_LOG: ${{ runner.debug && 'DEBUG' || 'INFO'}}
run: |
flub marked this conversation as resolved.
Show resolved Hide resolved
if [ -n "${{ runner.debug }}" ]; then
export RUST_LOG=DEBUG
fi
cargo test --workspace --all-features --doc

build_and_test_windows:
timeout-minutes: 30
Expand Down Expand Up @@ -168,9 +171,10 @@ jobs:
- uses: msys2/setup-msys2@v2

- name: tests
run: cargo nextest run --workspace ${{ env.FEATURES }} --lib --bins --tests --target ${{ matrix.target }}
run: |
cargo nextest run --workspace ${{ env.FEATURES }} --lib --bins --tests --target ${{ matrix.target }}
env:
RUST_LOG: ${{ runner.debug && 'DEBUG' || 'INFO'}}
RUST_LOG: "TRACE"

cross:
timeout-minutes: 30
Expand Down
Loading