Skip to content

Commit

Permalink
remove: test logging
Browse files Browse the repository at this point in the history
  • Loading branch information
passcod committed Mar 11, 2024
1 parent f58c9ec commit 659d674
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ jobs:
- uses: Swatinem/rust-cache@v2

- run: cargo test --features ${{ matrix.features }} --all-targets
- run: cargo test --features ${{ matrix.features }} id_same_as_inner
env:
RUST_LOG: debug
- run: cargo clippy --features ${{ matrix.features }}

formatting:
Expand Down
108 changes: 108 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ windows = { version = "0.53.0", optional = true }

[dev-dependencies]
tokio = { version = "1.33.0", features = ["io-util", "macros", "process", "rt", "rt-multi-thread", "time"] }
tracing-subscriber = "0.3.18"

[features]
default = ["creation-flags", "job-object", "process-group", "process-session"]
Expand Down
1 change: 1 addition & 0 deletions tests/tokio_windows/id_same_as_inner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ async fn job_object() -> Result<()> {

#[tokio::test]
async fn job_object_spawn_only() -> Result<()> {
tracing_subscriber::fmt::init();
TokioCommandWrap::with_new("powershell.exe", |command| {
command.arg("/C").arg("echo hello").stdout(Stdio::null());
})
Expand Down

0 comments on commit 659d674

Please sign in to comment.