1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-02-22 20:52:27 +00:00

make tarpaulin not timeout

This commit is contained in:
Dominic 2020-05-05 19:57:13 +02:00
parent e5f13792c6
commit bccefa8248
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
2 changed files with 5 additions and 3 deletions

View file

@ -12,7 +12,7 @@ test-default:
before_script:
- cargo -V
script:
- cargo test --workspace --tests
- cargo test --workspace --tests -- --ignored
cache:
paths:
- cargo/
@ -26,6 +26,7 @@ test-all:
- cargo -V
script:
- cargo test --workspace --all-features --doc
- cargo test trybuild_ui -- --ignored
- cargo tarpaulin --target-dir target/tarpaulin --all --all-features --exclude-files 'cargo/*' --exclude-files 'gotham_restful_derive/*' --exclude-files 'example/*' --ignore-panics --ignore-tests --out Html -v
artifacts:
paths:

View file

@ -1,10 +1,11 @@
use trybuild::TestCases;
#[test]
fn ui()
#[ignore]
fn trybuild_ui()
{
let t = TestCases::new();
// always enabled
t.compile_fail("tests/ui/from_body_enum.rs");
}
}