From 4fd1a2db7cf99a864729fc471b8d3ae666658891 Mon Sep 17 00:00:00 2001 From: fMeow Date: Sat, 2 Nov 2024 09:52:59 +0800 Subject: [PATCH] ci: use cargo hack test for each feature --- .github/workflows/CI.yml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e9afc60..a6cde3e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -36,22 +36,8 @@ jobs: - run: cargo test working-directory: pyo3-polars - - run: cargo test --all-features - working-directory: pyo3-polars - - - run: cargo test --features dtype-categorical - working-directory: pyo3-polars - - - run: cargo test --features dtype-full - working-directory: pyo3-polars - - - run: cargo test --features dtype-struct - working-directory: pyo3-polars - - - run: cargo test --features dtype-array - working-directory: pyo3-polars - - - run: cargo test --features lazy + - uses: taiki-e/install-action@cargo-hack + - run: cargo hack test --each-feature working-directory: pyo3-polars - run: make install