From a9558a3a8bfeebc47de20c6d71d70bae80bf5f60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Crozet=20S=C3=A9bastien?= Date: Mon, 1 Mar 2021 12:54:50 +0100 Subject: [PATCH] github actions: split tests into separate jobs. --- .github/workflows/nalgebra-ci-build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nalgebra-ci-build.yml b/.github/workflows/nalgebra-ci-build.yml index ef527af9..117be50b 100644 --- a/.github/workflows/nalgebra-ci-build.yml +++ b/.github/workflows/nalgebra-ci-build.yml @@ -24,7 +24,7 @@ jobs: run: rustup component add clippy - name: Run clippy run: cargo clippy - build-native: + build-nalgebra: runs-on: ubuntu-latest # env: # RUSTFLAGS: -D warnings @@ -42,7 +42,7 @@ jobs: run: cd nalgebra-lapack; cargo build; - name: Build nalgebra-sparse run: cd nalgebra-sparse; cargo build; - test-native: + test-nalgebra: runs-on: ubuntu-latest # env: # RUSTFLAGS: -D warnings @@ -50,8 +50,12 @@ jobs: - uses: actions/checkout@v2 - name: test run: cargo test --features arbitrary --features serde-serialize,abomonation-serialize,sparse,debug,io,compare,libm,proptest-support,slow-tests; + test-nalgebra-glm: + - uses: actions/checkout@v2 - name: test nalgebra-glm run: cargo test -p nalgebra-glm --features arbitrary,serde-serialize,abomonation-serialize,sparse,debug,io,compare,libm,proptest-support,slow-tests; + test-nalgebra-sparse: + - uses: actions/checkout@v2 - name: test nalgebra-sparse # Manifest-path is necessary because cargo otherwise won't correctly forward features # We increase number of proptest cases to hopefully catch more potential bugs