Skip to content

Commit

Permalink
fix workflow tests
Browse files Browse the repository at this point in the history
  • Loading branch information
garikbesson committed Oct 29, 2024
1 parent 700291f commit d28857d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 142 deletions.
16 changes: 0 additions & 16 deletions .github/dependabot.yml

This file was deleted.

73 changes: 0 additions & 73 deletions .github/scripts/readme-quick-deploy.sh

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/readme-ci.yml

This file was deleted.

32 changes: 6 additions & 26 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,13 @@
name: Tests
on:
repository_dispatch:
types: [tests-report]
push:
on: push
jobs:
tests:
strategy:
matrix:
platform: [ubuntu-latest] # mac-os currently in progress
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout branch
uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
- name: Build wasm files
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/
- name: Run unit tests
env:
IS_GITHUB_ACTION: true
run: cd nft && cargo test -- --nocapture --color=always
- name: Run Rust integration tests
run: cd integration-tests/rs && cargo run --example integration-tests
- name: Run TypeScript integration tests
run: cd integration-tests/ts && npm i && npm run test
- uses: actions/checkout@v4
- name: Install and test modules
run: |
cargo test

0 comments on commit d28857d

Please sign in to comment.