Skip to content

Commit

Permalink
fix(tests): don't run them all all the time (#76)
Browse files Browse the repository at this point in the history
* fix(tests): don't run them all all the time

* fix(workflow): test, not build and test
  • Loading branch information
nothingismagick authored Dec 17, 2020
1 parent f0c3abc commit 00bfeb4
Showing 1 changed file with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and run tests
name: Test

on:
push:
Expand All @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit 00bfeb4

Please sign in to comment.