Exclude slow tests from code coverage

This commit is contained in:
Jack Grigg 2019-08-28 19:39:35 +01:00
parent f9f17b291f
commit ee9c88ecb0
No known key found for this signature in database
GPG Key ID: 9E8255172BBF9898
3 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,8 @@ jobs:
run: cargo build --verbose --release --all
- name: Run tests
run: cargo test --verbose --release --all
- name: Run slow tests
run: cargo test --verbose --release --all -- --ignored
macOS:
name: Test on macOS-latest
@ -35,3 +37,5 @@ jobs:
run: $HOME/.cargo/bin/cargo build --verbose --release --all
- name: Run tests
run: $HOME/.cargo/bin/cargo test --verbose --release --all
- name: Run slow tests
run: $HOME/.cargo/bin/cargo test --verbose --release --all -- --ignored

View File

@ -17,6 +17,7 @@ script:
- cargo fmt --all -- --check
- cargo build --verbose --release --all
- cargo test --verbose --release --all
- cargo test --verbose --release --all -- --ignored
before_cache:
- rm -rf "$TRAVIS_HOME/.cargo/registry/src"

View File

@ -326,6 +326,7 @@ where
}
#[test]
#[ignore]
fn test_sprout_constraints() {
use bellman::gadgets::test::*;
use pairing::bls12_381::Bls12;