summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2023-04-21 11:31:35 -0600
committerFederico Mena Quintero <federico@gnome.org>2023-04-21 11:31:53 -0600
commitaf6f7d908c2318200d3157ac34b22567cecd5378 (patch)
tree613029ea47ec8335d0337b6f0ee79df1707884a0
parenta3224eaa315701a802186c4fdae20210a037209f (diff)
downloadlibrsvg-af6f7d908c2318200d3157ac34b22567cecd5378.tar.gz
CI: use "cargo test --workspace" everywhere to test all the projects
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/822>
-rw-r--r--.gitlab-ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fcbb5731..429e1dea 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,7 +38,7 @@ check:
stage: check
needs: ['opensuse-container@x86_64.stable']
script:
- - cargo check --all-targets
+ - cargo check --all-targets --workspace
cargo_test:
stage: check
@@ -57,7 +57,7 @@ cargo_test:
variables:
TESTS_OUTPUT_DIR: "${CI_PROJECT_DIR}/tests/output"
script:
- - cargo test -- --skip loading_crash --skip reference --skip render_crash
+ - cargo test --workspace -- --skip loading_crash --skip reference --skip render_crash
test_rust_gdk_pixbuf_loader:
stage: check
@@ -81,7 +81,7 @@ test_rust_gdk_pixbuf_loader:
extends: '.cache'
stage: build
script:
- - cargo test
+ - cargo test --workspace
artifacts:
when: 'on_failure'
paths: