Skip to content

Commit d28857d

Browse files
committed
fix workflow tests
1 parent 700291f commit d28857d

File tree

4 files changed

+6
-142
lines changed

4 files changed

+6
-142
lines changed

.github/dependabot.yml

-16
This file was deleted.

.github/scripts/readme-quick-deploy.sh

-73
This file was deleted.

.github/workflows/readme-ci.yml

-27
This file was deleted.

.github/workflows/tests.yml

+6-26
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,13 @@
11
name: Tests
2-
on:
3-
repository_dispatch:
4-
types: [tests-report]
5-
push:
2+
on: push
63
jobs:
74
tests:
85
strategy:
96
matrix:
10-
platform: [ubuntu-latest] # mac-os currently in progress
7+
platform: [ubuntu-latest, macos-latest]
118
runs-on: ${{ matrix.platform }}
129
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

0 commit comments

Comments
 (0)