File tree 4 files changed +6
-142
lines changed
4 files changed +6
-142
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
name : Tests
2
- on :
3
- repository_dispatch :
4
- types : [tests-report]
5
- push :
2
+ on : push
6
3
jobs :
7
4
tests :
8
5
strategy :
9
6
matrix :
10
- platform : [ubuntu-latest] # mac-os currently in progress
7
+ platform : [ubuntu-latest, macos-latest]
11
8
runs-on : ${{ matrix.platform }}
12
9
steps :
13
- - name : Checkout branch
14
- uses : actions/checkout@v2
15
- - name : Install Node
16
- uses : actions/setup-node@v3
17
- with :
18
- node-version : 16
19
- - name : Install Rust
20
- uses : actions-rs/toolchain@v1
21
- with :
22
- toolchain : stable
23
- target : wasm32-unknown-unknown
24
- - name : Build wasm files
25
- run : source scripts/flags.sh && rustup target add wasm32-unknown-unknown && cargo build --all --target wasm32-unknown-unknown --release && cp target/wasm32-unknown-unknown/release/*.wasm ./res/
26
- - name : Run unit tests
27
- env :
28
- IS_GITHUB_ACTION : true
29
- run : cd nft && cargo test -- --nocapture --color=always
30
- - name : Run Rust integration tests
31
- run : cd integration-tests/rs && cargo run --example integration-tests
32
- - name : Run TypeScript integration tests
33
- run : cd integration-tests/ts && npm i && npm run test
10
+ - uses : actions/checkout@v4
11
+ - name : Install and test modules
12
+ run : |
13
+ cargo test
You can’t perform that action at this time.
0 commit comments