@@ -15,38 +15,19 @@ jobs:
1515 steps :
1616 - name : Checkout branch
1717 uses : actions/checkout@v2
18- - name : Install Node
19- uses : actions/setup-node@v2
2018 - name : Install Rust
2119 uses : actions-rs/toolchain@v1
2220 with :
2321 toolchain : stable
2422 target : wasm32-unknown-unknown
25- - name : Build smart contract
26- run : npm run build
23+ - name : Run integration test
24+ run : cd integration-tests && cargo run --example integration-tests
2725 - name : Run unit tests
28- run : npm run test:unit
29- integration-tests :
30- name : Integration tests
31- strategy :
32- matrix :
33- platform : [ubuntu-latest] # , windows-latest, macos-latest]
34- runs-on : ${{ matrix.platform }}
35- env :
36- RUST_BACKTRACE : 1
37- steps :
38- - name : Checkout branch
39- uses : actions/checkout@v2
40- - name : Install Node
41- uses : actions/setup-node@v2
42- - name : Install Rust
43- uses : actions-rs/toolchain@v1
44- with :
45- toolchain : stable
46- target : wasm32-unknown-unknown
47- - name : Build smart contract
48- run : npm run build
49- - name : Run Rust integration tests
50- run : npm run test:integration:rs
51- - name : Run TS integration tests
52- run : npm run test:integration:ts
26+ run : cd market-contract && cargo test
27+ run : cd ../nft-contract && cargo test
28+ run : cd ../nft-contract-approval && cargo test
29+ run : cd ../nft-contract-basic && cargo test
30+ run : cd ../nft-contract-events && cargo test
31+ run : cd ../nft-contract-royalty && cargo test
32+ run : cd ../nft-contract-skeleton && cargo test
33+ run : cd ../nft-series && cargo test
0 commit comments