From 68056f8ca401e2d0b5c96e18c78e19a771b3df07 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 7 Apr 2024 08:52:28 +0200 Subject: Test benchmarks in GitHub CI --- .cargo/config.toml | 4 ++-- .github/workflows/test.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 85a46cda..20f9895b 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,6 +1,6 @@ [alias] lint = """ -clippy --workspace --no-deps -- \ +clippy --workspace --benches --no-deps -- \ -D warnings \ -A clippy::type_complexity \ -D clippy::semicolon_if_nothing_returned \ @@ -18,7 +18,7 @@ clippy --workspace --no-deps -- \ """ nitpick = """ -clippy --workspace --no-deps -- \ +clippy --workspace --benches --no-deps -- \ -D warnings \ -D clippy::pedantic \ -A clippy::type_complexity \ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 47c61f5e..c48b8b5b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,5 +22,5 @@ jobs: sudo apt-get install -y libxkbcommon-dev libgtk-3-dev - name: Run tests run: | - cargo test --verbose --workspace - cargo test --verbose --workspace --all-features + cargo test --verbose --workspace --benches + cargo test --verbose --workspace --benches --all-features -- cgit