diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index c01627c..1b144cb 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -24,18 +24,9 @@ jobs: with: cache-on-failure: true - - name: Install wasm-pack - run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - - - name: Install wasm-bindgen-cli Custom - run: cargo install -f wasm-bindgen-cli - name: Run tests run: cargo test --verbose - - name: Run WASM tests - run: make wasm-tests - working-directory: packages/bsv-wasm - node-test: runs-on: ubuntu-latest diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index 9c156d2..8396832 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -10,6 +10,22 @@ env: CARGO_TERM_COLOR: always jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - uses: Swatinem/rust-cache@v1 + with: + cache-on-failure: true + + - name: Run tests + run: cargo test --verbose + node-test: runs-on: ubuntu-latest