Skip to content

Commit

Permalink
fixup: all tests now
Browse files Browse the repository at this point in the history
  • Loading branch information
passcod committed Mar 11, 2024
1 parent 56ff0ff commit 4ee0875
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 163 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ jobs:
- uses: Swatinem/rust-cache@v2

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

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

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

4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ edition = "2021"
exclude = ["/bin", "/.github"]
rust-version = "1.75.0"

# there are a few windows-specific ones
autoexamples = false

[dependencies]
futures = "0.3.30"
indexmap = "2.2.5"
Expand All @@ -33,7 +30,6 @@ 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 = { version = "0.3.18", features = ["env-filter"] }

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

#[tokio::test]
async fn job_object() -> Result<()> {
tracing_subscriber::fmt::fmt()
.pretty()
.with_env_filter(tracing_subscriber::filter::EnvFilter::from_default_env())
.with_span_events(tracing_subscriber::fmt::format::FmtSpan::FULL)
.init();
let child = TokioCommandWrap::with_new("powershell.exe", |command| {
command.arg("/C").arg("echo hello").stdout(Stdio::null());
})
Expand Down

0 comments on commit 4ee0875

Please sign in to comment.