From 00bfeb4124beede8764d21ead6ba15412cffee82 Mon Sep 17 00:00:00 2001 From: nothingismagick Date: Thu, 17 Dec 2020 09:45:20 +0100 Subject: [PATCH] fix(tests): don't run them all all the time (#76) * fix(tests): don't run them all all the time * fix(workflow): test, not build and test --- .github/workflows/{build-and-test.yml => test.yml} | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) rename .github/workflows/{build-and-test.yml => test.yml} (89%) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/test.yml similarity index 89% rename from .github/workflows/build-and-test.yml rename to .github/workflows/test.yml index a23d2c579..91b573b30 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Build and run tests +name: Test on: push: @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - project: [engine, client, runtime, products/commandline] + project: [engine, client, runtime, communication, products/commandline] os: [ubuntu-latest, macos-latest, windows-latest] steps: @@ -69,14 +69,8 @@ jobs: restore-keys: | ${{ matrix.project }}-${{ matrix.os }}-${{ matrix.rust }}-cargo-build-target-${{ hashFiles('**/Cargo.toml') }} - - name: Build ${{ matrix.project }} - uses: actions-rs/cargo@v1 - with: - command: build - args: --manifest-path=${{ matrix.project }}/Cargo.toml --all --release - - name: Run tests for ${{ matrix.project }} uses: actions-rs/cargo@v1 with: command: test - args: --manifest-path=${{ matrix.project }}/Cargo.toml --all --release + args: --manifest-path=${{ matrix.project }}/Cargo.toml --release