From 1c803c15b5eb5db7b4d6bee71ed4b2cb7e9231f9 Mon Sep 17 00:00:00 2001 From: Pandawan Date: Sun, 24 Oct 2021 20:17:01 -0700 Subject: [PATCH] Hopefully fix windows tests --- .github/workflows/build.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ae58869..ca6a81a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,10 +47,17 @@ jobs: - name: Build run: cargo build --verbose --release --locked - - name: Run tests + - name: Run tests (unix) + if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macOS') env: PLUGIN_URL: ./target/release/ - run: deno test --unstable --allow-all tests/*.ts + run: deno test --unstable --allow-all ./tests/*.ts + - name: Run tests (windows) + if: startsWith(matrix.os, 'windows') + env: + PLUGIN_URL: ./target/release/ + shell: bash + run: deno test --unstable --allow-all ./tests/*.ts - name: Release Plugin uses: softprops/action-gh-release@master