Skip to content

Commit

Permalink
circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaele-oplabs committed Jan 31, 2025
1 parent 357834e commit 134c3ca
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,28 @@ commands:
source "$HOME/.cargo/env"
jobs:
cargo-tests:
init:
executor: default
environment:
CARGO_TERM_COLOR: always
steps:
- checkout
- run:
name: Generate testdata
command: just testdata
# Persist workspace for other jobs
- persist_to_workspace:
root: .
paths:
- .

cargo-tests:
executor: rust
environment:
CARGO_TERM_COLOR: always
steps:
- attach_workspace:
at: .
# - restore_cache:
# keys:
# - rust-cache-v1-{{ checksum "Cargo.lock" }}
Expand Down Expand Up @@ -84,4 +101,7 @@ workflows:

rust-test-workflow:
jobs:
- cargo-tests
- init
- cargo-tests:
requires:
- init

0 comments on commit 134c3ca

Please sign in to comment.