Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 10 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: install cargo-nextest
uses: taiki-e/install-action@nextest
- name: "Test log support"
run: cargo test
- name: "Test static max level"
Expand All @@ -303,6 +305,14 @@ jobs:
# as rustdoc isn't aware of cargo's feature flags.
- name: "Test tracing-subscriber with all features disabled"
run: cargo test --lib --tests --no-default-features
- name: "Fix chrono version to 0.4.41"
run: cargo update -p chrono --precise 0.4.41
- name: "Test tracing-subscriber with all features enabled"
run: cargo nextest run --profile ci --all-features -p tracing-subscriber
- name: "Test tracing-subscriber docs with all features enabled"
run: cargo test --doc --all-features -p tracing-subscriber
- name: "Test tracing-mock with all features enabled"
run: cargo test --all-features -p tracing-mock

# all required checks except for the main test run (which we only require
# specific matrix combinations from)
Expand Down
2 changes: 1 addition & 1 deletion tracing-subscriber/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ tracing-log = { path = "../tracing-log", version = "0.2.0" }
criterion = { version = "0.3.6", default-features = false }
regex = { version = "1", default-features = false, features = ["std"] }
tracing-futures = { path = "../tracing-futures", version = "0.2.0", default-features = false, features = ["std-future", "std"] }
tokio = { version = "1", features = ["rt", "macros"] }
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] }
# Enable the `time` crate's `macros` feature, for examples.
time = { version = "0.3.2", features = ["formatting", "macros"] }

Expand Down