From e6721275ae471439b68d2ec6ce89346b7bb2373c Mon Sep 17 00:00:00 2001 From: Dominic Date: Sat, 21 Nov 2020 02:07:26 +0100 Subject: [PATCH] ci: remove 'cargo sweep' --- .gitlab-ci.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f4a69ea..eb3eb56 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,16 +9,13 @@ variables: test-default: stage: test - image: msrd0/rust:alpine-sweep + image: msrd0/rust:alpine before_script: - cargo -V - - cargo sweep -s script: - cargo test --workspace --doc - cargo test --workspace --tests - cargo test --workspace --tests -- --ignored - after_script: - - cargo sweep -f cache: key: cargo-default paths: @@ -27,17 +24,14 @@ test-default: test-all: stage: test - image: msrd0/rust:alpine-tarpaulin-sweep + image: msrd0/rust:alpine-tarpaulin before_script: - apk add --no-cache postgresql-dev - cargo -V - - cargo sweep -s script: - cargo test --workspace --all-features --doc - 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 - after_script: - - cargo sweep -f artifacts: paths: - tarpaulin-report.html @@ -56,15 +50,12 @@ readme: doc: stage: build - image: msrd0/rust:alpine-sweep + image: msrd0/rust:alpine before_script: - cargo -V - - cargo sweep -s script: - cargo doc --all-features - echo 'The documentation is located here' >target/doc/index.html - after_script: - - cargo sweep -f artifacts: paths: - target/doc/