-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 729 Bytes
/
rust.yml
File metadata and controls
29 lines (26 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Rust
on:
push:
paths:
- src/*.rs
- tests/*.rs
- .github/workflows/rust.yml
pull_request:
branches: [ master ]
jobs:
test:
name: Test sigplot-bitarray
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: wasm-pack-action
uses: jetli/wasm-pack-action@f98777369a49686b132a9e8f0fdd59837bf3c3fd # v0.3.0
with:
version: "v0.9.1"
- name: Run tests in headless Firefox
run: wasm-pack test --headless --firefox
- name: Run tests in headless Chrome
run: wasm-pack test --headless --chrome