Skip to content

Merge pull request #64 from garikbesson/migrate-and-reorganize #85

Merge pull request #64 from garikbesson/migrate-and-reorganize

Merge pull request #64 from garikbesson/migrate-and-reorganize #85

Workflow file for this run

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: Run unit tests
run: cd market-contract && cargo test
run: cd ../nft-contract && cargo test

Check failure on line 27 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 27, Col: 9): 'run' is already defined .github/workflows/tests.yml (Line: 28, Col: 9): 'run' is already defined
run: cd ../nft-contract-approval && cargo test
run: cd ../nft-contract-basic && cargo test
run: cd ../nft-contract-events && cargo test
run: cd ../nft-contract-royalty && cargo test
run: cd ../nft-contract-skeleton && cargo test
run: cd ../nft-series && cargo test