mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-02-23 13:02:28 +00:00
ci: remove 'cargo sweep'
This commit is contained in:
parent
24893223b2
commit
e6721275ae
1 changed files with 3 additions and 12 deletions
|
@ -9,16 +9,13 @@ variables:
|
||||||
|
|
||||||
test-default:
|
test-default:
|
||||||
stage: test
|
stage: test
|
||||||
image: msrd0/rust:alpine-sweep
|
image: msrd0/rust:alpine
|
||||||
before_script:
|
before_script:
|
||||||
- cargo -V
|
- cargo -V
|
||||||
- cargo sweep -s
|
|
||||||
script:
|
script:
|
||||||
- cargo test --workspace --doc
|
- cargo test --workspace --doc
|
||||||
- cargo test --workspace --tests
|
- cargo test --workspace --tests
|
||||||
- cargo test --workspace --tests -- --ignored
|
- cargo test --workspace --tests -- --ignored
|
||||||
after_script:
|
|
||||||
- cargo sweep -f
|
|
||||||
cache:
|
cache:
|
||||||
key: cargo-default
|
key: cargo-default
|
||||||
paths:
|
paths:
|
||||||
|
@ -27,17 +24,14 @@ test-default:
|
||||||
|
|
||||||
test-all:
|
test-all:
|
||||||
stage: test
|
stage: test
|
||||||
image: msrd0/rust:alpine-tarpaulin-sweep
|
image: msrd0/rust:alpine-tarpaulin
|
||||||
before_script:
|
before_script:
|
||||||
- apk add --no-cache postgresql-dev
|
- apk add --no-cache postgresql-dev
|
||||||
- cargo -V
|
- cargo -V
|
||||||
- cargo sweep -s
|
|
||||||
script:
|
script:
|
||||||
- cargo test --workspace --all-features --doc
|
- cargo test --workspace --all-features --doc
|
||||||
- cargo test --workspace --tests -- --ignored
|
- cargo test --workspace --tests -- --ignored
|
||||||
- cargo tarpaulin --target-dir target/tarpaulin --all --all-features --exclude-files 'cargo/*' --exclude-files 'derive/*' --exclude-files 'example/*' --ignore-panics --ignore-tests --out Html -v
|
- cargo tarpaulin --target-dir target/tarpaulin --all --all-features --exclude-files 'cargo/*' --exclude-files 'derive/*' --exclude-files 'example/*' --ignore-panics --ignore-tests --out Html -v
|
||||||
after_script:
|
|
||||||
- cargo sweep -f
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- tarpaulin-report.html
|
- tarpaulin-report.html
|
||||||
|
@ -56,15 +50,12 @@ readme:
|
||||||
|
|
||||||
doc:
|
doc:
|
||||||
stage: build
|
stage: build
|
||||||
image: msrd0/rust:alpine-sweep
|
image: msrd0/rust:alpine
|
||||||
before_script:
|
before_script:
|
||||||
- cargo -V
|
- cargo -V
|
||||||
- cargo sweep -s
|
|
||||||
script:
|
script:
|
||||||
- cargo doc --all-features
|
- cargo doc --all-features
|
||||||
- echo '<!DOCTYPE HTML><html><head><meta http-equiv="Refresh" content="0; url=./gotham_restful/index.html"/></head><body>The documentation is located <a href="./gotham_restful/index.html">here</a></body></html>' >target/doc/index.html
|
- echo '<!DOCTYPE HTML><html><head><meta http-equiv="Refresh" content="0; url=./gotham_restful/index.html"/></head><body>The documentation is located <a href="./gotham_restful/index.html">here</a></body></html>' >target/doc/index.html
|
||||||
after_script:
|
|
||||||
- cargo sweep -f
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- target/doc/
|
- target/doc/
|
||||||
|
|
Loading…
Add table
Reference in a new issue