-
Notifications
You must be signed in to change notification settings - Fork 93
36 lines (36 loc) · 1.1 KB
/
tests.yml
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
30
31
32
33
34
35
36
name: Tests
on:
repository_dispatch:
types: [tests-report]
push:
jobs:
unit-tests:
name: Unit tests
strategy:
matrix:
platform: [ubuntu-latest] # , windows-latest, macos-latest]
runs-on: ${{ matrix.platform }}
env:
RUST_BACKTRACE: 1
steps:
- name: Checkout branch
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
- name: Run integration test
run: cd integration-tests && cargo run --example integration-tests
- name: Market tests
run: cd market-contract && cargo test
- name: Contract Basics tests
run: cd nft-contract-basic && cargo test
- name: Events tests
run: cd nft-contract-events && cargo test
- name: Royalty tests
run: cd nft-contract-royalty && cargo test
- name: Skeleton tests
run: cd nft-contract-skeleton && cargo test
- name: NFT series tests
run: cd nft-series && cargo test