diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 38a87aab553..c16e3152651 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -375,6 +375,8 @@ examples-test: - for example in integration-tests/*/; do if [ "$example" = "integration-tests/lang-err-integration-tests/" ]; then continue; fi; if [ "$example" = "integration-tests/conditional-compilation/" ]; then + cargo test --verbose --manifest-path ${example}/Cargo.toml --features "foo"; + cargo test --verbose --manifest-path ${example}/Cargo.toml --features "bar"; cargo test --verbose --manifest-path ${example}/Cargo.toml --features "foo, bar"; fi; if grep -q "e2e-tests = \[\]" "${example}/Cargo.toml"; then @@ -405,6 +407,12 @@ examples-contract-build: if [ "$example" = "integration-tests/lang-err-integration-tests/" ]; then continue; fi; if [ "$example" = "integration-tests/conditional-compilation/" ]; then pushd $example && + cargo +stable contract build --features "foo" && + popd; + pushd $example && + cargo +stable contract build --features "bar" && + popd; + pushd $example && cargo +stable contract build --features "foo, bar" && popd; fi;