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

some housekeeping

This commit is contained in:
Dominic 2020-01-25 14:11:57 +01:00
parent 6e9d8bd158
commit 756fd3a98a
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
2 changed files with 7 additions and 2 deletions

View file

@ -12,7 +12,8 @@ test-default:
before_script:
- cargo -V
script:
- cargo test --all
- cargo test --workspace --lib --tests
- cargo test --workspace --doc
cache:
paths:
- cargo/
@ -25,7 +26,8 @@ test-all:
- apk add --no-cache bash curl
- cargo -V
script:
- cargo tarpaulin --all --all-features --exclude-files 'cargo/*' --exclude-files 'example/*' --out Xml
- cargo test --workspace --all-features --doc
- cargo tarpaulin --all --all-features --exclude-files 'cargo/*' --exclude-files 'example/*' --ignore-panics --ignore-tests --out Xml -v
- wget -qO- https://codecov.io/bash | bash -s -- -y .codecov.yml -X gcov
cache:
paths:

View file

@ -42,3 +42,6 @@ default = []
auth = ["gotham_restful_derive/auth", "base64", "cookie", "jsonwebtoken"]
database = ["gotham_restful_derive/database", "gotham_middleware_diesel"]
openapi = ["gotham_restful_derive/openapi", "indexmap", "log", "openapiv3"]
[package.metadata.docs.rs]
all-features = true