From 0152729560f79b1aaf1dcbbe96f61a65ebc50f75 Mon Sep 17 00:00:00 2001 From: FabijanC Date: Thu, 19 Dec 2024 16:57:53 +0100 Subject: [PATCH] Add 'cargo build' to config.yml; test with 'cargo test' --- .circleci/config.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e7753f4e9..b0ccac924 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -61,6 +61,9 @@ jobs: command: cargo update -w --locked - run: name: Build + command: cargo build + - run: + name: Build in release mode (for BackgroundDevnet) command: cargo build --release - run: name: Clippy check @@ -78,12 +81,8 @@ jobs: name: Cleanup old cache command: .circleci/scripts/cache.sh cleanup - run: - name: Unit tests - command: cargo test --lib --bins --no-fail-fast - - run: - name: Integration tests - # fails if jobs not limited; read more in https://github.com/0xSpaceShard/starknet-devnet-rs/issues/378 - command: cargo test --jobs 9 --test '*' --no-fail-fast + name: Tests + command: cargo test --no-fail-fast binary-build: parameters: