From 7254053476bc8825f5d421a6c0d1aa83d37a127b Mon Sep 17 00:00:00 2001 From: Dennis <10233439+idea404@users.noreply.github.com> Date: Wed, 4 May 2022 13:42:44 +0100 Subject: [PATCH] name GH Actions steps --- .github/workflows/tests.yml | 19 ++++++++++--------- .gitignore | 1 + 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d7e2070..a2e4128 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,17 +10,18 @@ jobs: platform: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 - with: - node-version: '16' - - uses: actions-rs/toolchain@v1 + - 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 target: wasm32-unknown-unknown - name: Install modules run: yarn - - name: Run tests - env: - IS_GITHUB_ACTION: true - run: yarn build && cargo test -- --nocapture && ./test.sh + - name: Run unit tests + run: yarn test:unit + - name: Run integration tests + run: yarn test:integration diff --git a/.gitignore b/.gitignore index 581ab02..9e0c04e 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ target dist *.lock package-lock.json +res/** # IDE .idea