From 3eec622d3dd28e6766814399603f9171c3d610a1 Mon Sep 17 00:00:00 2001 From: gagdiez Date: Tue, 19 Mar 2024 17:26:05 +0100 Subject: [PATCH] Update tests.yml --- .github/workflows/tests.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3a4cc20..2c58700 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,4 +1,4 @@ -name: Tests +name: Tests Contract RS on: push jobs: workflows: @@ -7,16 +7,8 @@ jobs: platform: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.platform }} 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 - target: wasm32-unknown-unknown - - name: Install modules - run: yarn - - name: Run tests - run: yarn test \ No newline at end of file + - uses: actions/checkout@v2 + - name: Install and test modules + run: | + cd ./contract-rs + cargo test