Skip to content

Commit

Permalink
Run tests in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Remco Bloemen committed Sep 28, 2019
1 parent 6470686 commit 27eb4a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .cargo/config
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[alias]
t = "test --all-features"
# TODO: --all-targets fails for benches
t = "test --all-features --tests --lib --bins --examples"
b = "build --all-features --all-targets"
lint = "clippy --all-features --all-targets -- -D warnings"
nostd = "check --lib --bins --no-default-features --target=thumbv7m-none-eabi"
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ jobs:
name: Build tests with coverage
command: |
# Build with coverage settings from Dockerfile
# TODO: Build and run tests from all targets
CARGO_INCREMENTAL=0 RUSTFLAGS="$COVFLAGS" cargo +$NIGHTLY build $PACKAGES --tests --all-features
- save-sccache-cache
- run:
Expand Down

0 comments on commit 27eb4a4

Please sign in to comment.