From 9daf36ed0a1ed25e16610cbb99ab045afdacba8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferry=20J=C3=A9r=C3=A9mie?= Date: Fri, 23 Aug 2024 10:53:58 +0200 Subject: [PATCH] update CI --- .github/workflows/ci.yml | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 38f6084..35d5675 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,11 @@ name: CI on: [push, pull_request] +env: + RUST_MINVERSION: 1.65.0 + CARGO_INCREMENTAL: 0 + CARGO_NET_RETRY: 10 + jobs: test: name: Test @@ -11,7 +16,26 @@ jobs: matrix: rust: - stable - - beta + - nightly + + features: + - '' + + include: + - rust: stable + features: '' + - rust: stable + features: '--features "std"' + - rust: stable + features: '--no-default-features' + - rust: stable + features: '--no-default-features --features "alloc"' + - rust: nightly + features: '' + - rust: nightly + features: '--no-default-features' + - rust: nightly + features: '--no-default-features --features "alloc"' steps: - name: Checkout sources @@ -39,7 +63,6 @@ jobs: command: test args: --verbose ${{ matrix.features }} - coverage: name: Coverage runs-on: ubuntu-latest @@ -68,7 +91,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: tarpaulin - args: --output-dir coverage --out lcov + args: --output-dir coverage --out xml --workspace --exclude benchmarks - name: Publish to Coveralls uses: coverallsapp/github-action@master