Skip to content

Commit

Permalink
just rely on smoke test for clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Oct 9, 2023
1 parent ea75f33 commit dfe6f21
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 22 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ jobs:
cd ./tests/smoke-test
cargo +beta clippy
- name: Tests
run: cargo +beta test

embedded:
name: Build (embedded)
runs-on: ubuntu-latest
Expand Down
12 changes: 0 additions & 12 deletions tests/compile-pass/pedantic.rs

This file was deleted.

7 changes: 0 additions & 7 deletions tests/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ fn fail() {

#[test]
fn pass() {
// If `clippy` is available, then use it
if std::process::Command::new("clippy-driver").arg("--version").output().is_ok() {
println!("Using `clippy`");

std::env::set_var("RUSTC_WORKSPACE_WRAPPER", "clippy-driver");
}

let t = trybuild::TestCases::new();
t.pass("tests/compile-pass/**/*.rs");
}

0 comments on commit dfe6f21

Please sign in to comment.