-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d3ce1d9
commit 7e3477b
Showing
3 changed files
with
6 additions
and
133 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,13 @@ | ||
name: Tests | ||
on: | ||
repository_dispatch: | ||
types: [tests-report] | ||
push: | ||
pull_request_target: | ||
types: [opened, edited] | ||
on: push | ||
jobs: | ||
tests: | ||
strategy: | ||
matrix: | ||
platform: [ubuntu-latest] # mac-os in development | ||
platform: [ubuntu-latest, macos-latest] | ||
runs-on: ${{ matrix.platform }} | ||
env: | ||
RUST_BACKTRACE: 1 | ||
steps: | ||
- name: Checkout branch | ||
uses: actions/checkout@v2 | ||
- name: Install Node | ||
uses: actions/setup-node@v2 | ||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable-2020-10-08 | ||
target: wasm32-unknown-unknown | ||
- name: Run unit tests | ||
run: cd ft && cargo test -- --nocapture --color=always | ||
- name: Run Rust integration tests | ||
run: cd integration-tests/rs && cargo run --example integration-tests | ||
- name: Run TS integration tests | ||
run: cd integration-tests/ts && yarn && yarn test | ||
- uses: actions/checkout@v4 | ||
- name: Install and test modules | ||
run: | | ||
cargo test |