diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml deleted file mode 100644 index 9a254d4f..00000000 --- a/.github/workflows/mac.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: run tests mac - -on: - push: - branches: - - develop - pull_request: {} - -jobs: - test: - runs-on: macos-latest - strategy: - matrix: - script: ["./test.sh", "./bench.sh"] - steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - target: wasm32-unknown-unknown - - run: ${{ matrix.script }} \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9d8d9358..6079fddd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,10 +12,11 @@ env: jobs: test: - runs-on: ubuntu-latest strategy: matrix: + os: [ubuntu-latest, macos-latest] script: ["./test.sh", "./bench.sh"] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 - name: Install nix