chore: import upstream snapshot with attribution
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

This commit is contained in:
wehub-resource-sync
2026-07-13 12:45:24 +08:00
commit 70cb81e982
218 changed files with 410378 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
# 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"]