test pico in docker

This commit is contained in:
Kevaundray Wedderburn
2025-05-13 11:40:53 +01:00
parent 6e19498b4b
commit 1b22a73d41

View File

@@ -20,4 +20,13 @@ ENV PICO_TOOLCHAIN_VERSION="nightly-2024-11-27"
# Verify Pico installation
RUN echo "Verifying Risc0 installation in Dockerfile (post-script)..." && cargo "+${PICO_TOOLCHAIN_VERSION}" pico --version
# Copy the entire ere project context
# The WORKDIR is /app from the base image
WORKDIR /app
COPY . .
# Run tests
RUN echo "Running tests for ere-pico library..." && \
cargo test --release -p ere-pico --lib -- --color always
CMD ["/bin/bash"]