Skip to content

Commit

Permalink
Hopefully fix windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandawan committed Oct 25, 2021
1 parent 6221195 commit 1c803c1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c803c1

Please sign in to comment.