mirror of
https://github.com/CCC-MF/bwhc-kafka-rest-proxy.git
synced 2025-04-19 19:16:51 +00:00
build: run tests before release build in Dockerfile
This commit is contained in:
parent
976c86d043
commit
85ba709709
@ -6,6 +6,8 @@ RUN apk add cmake make musl-dev g++
|
||||
WORKDIR /build
|
||||
COPY Cargo.toml ./
|
||||
COPY src ./src
|
||||
# Run tests before release build
|
||||
RUN cargo test --release
|
||||
RUN cargo build --release
|
||||
|
||||
# Build image from scratch
|
||||
|
Loading…
x
Reference in New Issue
Block a user