Skip to content

Commit

Permalink
move nodejs integrations workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
amr-crabnebula committed Nov 23, 2023
1 parent fbbb352 commit 4b481db
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/check-nodejs-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,3 @@ jobs:
- uses: Swatinem/rust-cache@v2
- run: pnpm install
- run: pnpm build
- run: pnpm test
if: ${{ !startsWith(github.head_ref, 'renovate/') }}
timeout-minutes: 30
23 changes: 22 additions & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

jobs:
test:
test-rust:
if: ${{ !startsWith(github.head_ref, 'renovate/') }}
runs-on: ${{ matrix.platform }}

Expand All @@ -28,3 +28,24 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo test --test '*' -- --ignored --nocapture

test-nodejs:
runs-on: ${{ matrix.platform }}

strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: pnpm/action-setup@v2
with:
version: latest
- uses: actions/setup-node@v4
- uses: Swatinem/rust-cache@v2
- run: pnpm install
- run: pnpm build
- run: pnpm test
timeout-minutes: 30

0 comments on commit 4b481db

Please sign in to comment.