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