From 81f0e161b233cdd2c01c415e3a49c09475fb5d5f Mon Sep 17 00:00:00 2001 From: Jumaru Date: Thu, 2 Nov 2023 11:21:48 +0200 Subject: [PATCH] fix(ci): :bug: Run tests only on Ubuntu --- .github/workflows/release.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dce5a44..9059d3a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,12 +21,14 @@ jobs: profile: minimal toolchain: stable override: true - - name: Build and test + - name: Test + if: matrix.os == 'ubuntu-latest' + run: | + cargo test + - name: Build run: | cargo build --release - if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then - cargo test - fi + env: CARGO_TARGET_DIR: ${{ runner.temp }}/target - name: Setup Node.js