Skip to content

Commit

Permalink
Stop running wasm tests on main damnit
Browse files Browse the repository at this point in the history
  • Loading branch information
TGRCdev committed Jan 15, 2025
1 parent d1a9653 commit 4281111
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,3 @@ jobs:
run: cargo +nightly build --features inventory,nightly --verbose
- name: Run bevy-butler tests
run: cargo +nightly test --features inventory,nightly --verbose
build-wasm:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/wasm'
steps:
- uses: actions/checkout@v4
- uses: jetli/wasm-pack-action@v0.4.0
with:
version: 'latest'
- name: Run bevy-butler tests
run: wasm-pack test --node --features inventory --verbose
21 changes: 21 additions & 0 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: WebAssembly

on:
push:
branches: [ "wasm" ]
pull_request:
branches: [ "wasm" ]

env:
CARGO_TERM_COLOR: always

jobs:
build-wasm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jetli/wasm-pack-action@v0.4.0
with:
version: 'latest'
- name: Run bevy-butler tests
run: wasm-pack test --node --features inventory --verbose

0 comments on commit 4281111

Please sign in to comment.