From 5fb302924b05a6a8c24dbad1279d5a8c0ad0fc61 Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Fri, 6 Aug 2021 09:25:16 +0200 Subject: [PATCH 1/2] ci: add separate cargo test --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7b124ffe0c..f06bb376dd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,6 +19,13 @@ fmt: - cargo +nightly fmt -- --check test: + image: paritytech/ci-linux:105b919b-20210617 + stage: test + timeout: 1 hours + script: + - cargo test + +test-all-features: image: paritytech/ci-linux:105b919b-20210617 stage: test timeout: 1 hours From 7aed4353586359f9abff030fad58b2607c69f595 Mon Sep 17 00:00:00 2001 From: William Freudenberger Date: Fri, 6 Aug 2021 16:25:45 +0200 Subject: [PATCH 2/2] ci: improve cargo test --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f06bb376dd..c16887d2d2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,14 +23,14 @@ test: stage: test timeout: 1 hours script: - - cargo test + - cargo test --all --all-targets -test-all-features: +test-features: image: paritytech/ci-linux:105b919b-20210617 stage: test timeout: 1 hours script: - - cargo test --all-features --all-targets + - cargo test --all --all-features --all-targets build: image: