integration tests rely on leo binary

- for that build step is added before running tests
This commit is contained in:
damirka 2021-04-26 12:51:51 +03:00
parent b58f38fbbc
commit 794251bb43

View File

@ -50,8 +50,11 @@ jobs:
- checkout - checkout
- setup_environment: - setup_environment:
cache_key: leo-stable-cache cache_key: leo-stable-cache
- build:
name: Build leo binary
command: cargo build
- run: - run:
name: Build and run tests name: Run tests
no_output_timeout: 30m no_output_timeout: 30m
command: cargo test --all command: cargo test --all
- persist_to_workspace: - persist_to_workspace:
@ -68,8 +71,11 @@ jobs:
- checkout - checkout
- setup_environment: - setup_environment:
cache_key: leo-nightly-cache cache_key: leo-nightly-cache
- build:
name: Build leo binary
command: cargo build
- run: - run:
name: Build and test name: Run tests
no_output_timeout: 30m no_output_timeout: 30m
command: cargo test --all command: cargo test --all
- clear_environment: - clear_environment: