Skip to content

Commit

Permalink
fixup! ci: tofu provisioned file changes
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
aetheric-tofu-github[bot] authored Oct 18, 2024
1 parent 64c741f commit 293640f
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .compose/aetheric-svc/rust-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ x-volumes-it: &volumes-it
source: "../../logs/"
target: "/logs/"

x-volumes-ut: &volumes-ut
volumes:
- type: bind
source: "${SOURCE_PATH:-../..}/"
target: "/usr/src/app"
- type: bind
source: "${SOURCE_PATH:-../..}/.cargo/registry"
target: "/usr/local/cargo/registry"
- type: bind
source: "../../logs/"
target: "/logs/"

x-test: &test
user: ${DOCKER_USER_ID:-0}:${DOCKER_GROUP_ID:-0}
image: ${RUST_IMAGE_NAME}:${RUST_IMAGE_TAG}
Expand Down Expand Up @@ -48,7 +60,7 @@ x-coverage-cmd: &coverage-cmd

services:
unit-test:
<<: *test
<<: [*test, *volumes-ut]
container_name: aetheric-${PACKAGE_NAME}-ut
command: sh -c "
cargo test \
Expand All @@ -61,7 +73,7 @@ services:
- unit-test

ut-coverage:
<<: [*test, *coverage-cmd]
<<: [*test, *volumes-ut, *coverage-cmd]
container_name: aetheric-${PACKAGE_NAME}-ut-coverage
environment:
- PACKAGE_FEATURES=${PACKAGE_UT_FEATURES}
Expand Down

0 comments on commit 293640f

Please sign in to comment.