Files
wehub-resource-sync 70cb81e982
CI / Test (macos-latest, stable) (push) Has been cancelled
CI / Test (ubuntu-latest, stable) (push) Has been cancelled
CI / Test (windows-latest, stable) (push) Has been cancelled
CI / Lint (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:45:24 +08:00

24 lines
535 B
Docker

# Test Dockerfile for Memvid Core
FROM rust:1.92-slim-trixie AS builder
# Install test dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
pkg-config \
libssl-dev \
ca-certificates \
git \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Copy everything
COPY . .
# Set environment variables for testing
ENV RUST_BACKTRACE=1
ENV RUST_LOG=info
ENV CARGO_TARGET_DIR=/app/target
# Run tests with default features
CMD ["cargo", "test", "--features", "lex,pdf_extract", "--", "--nocapture"]