Skip to content

Commit

Permalink
update workflow to run wrapper tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rennzie committed Sep 15, 2023
1 parent f6132c1 commit 277f751
Showing 1 changed file with 22 additions and 9 deletions.
31 changes: 22 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,34 @@ name: Rust

on:
push:
branches: [ "master" ]
branches: ['master']
pull_request:
branches: [ "master" ]
branches: ['master']

env:
CARGO_TERM_COLOR: always

jobs:
build:

bindings:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

wrapper:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- name: Build Dev Wrapper
run: bun build:wrapper-dev

- name: Run Wrapper Tests
run: bun test:wrapper

0 comments on commit 277f751

Please sign in to comment.