docs: remove Docker references from pipeline-judge
Use local bun runtime only for evolution testing.
This commit is contained in:
@@ -49,30 +49,18 @@ where:
|
||||
|
||||
## Execution Protocol
|
||||
|
||||
### Step 1: Collect Metrics (Docker-first for precision)
|
||||
### Step 1: Collect Metrics (Local bun runtime)
|
||||
|
||||
```bash
|
||||
# Prefer Docker for consistent measurements with millisecond precision
|
||||
if command -v docker &> /dev/null && docker info &> /dev/null; then
|
||||
echo "Using Docker container for precise measurements..."
|
||||
|
||||
# Run tests in container with millisecond timing
|
||||
START_MS=$(date +%s%3N)
|
||||
docker-compose -f docker/evolution-test/docker-compose.yml run --rm evolution-test \
|
||||
bun test --reporter=json --coverage 2>&1 | tee /tmp/test-results.json
|
||||
END_MS=$(date +%s%3N)
|
||||
|
||||
TIME_MS=$((END_MS - START_MS))
|
||||
echo "Execution time: ${TIME_MS}ms"
|
||||
else
|
||||
echo "Running locally (Docker not available, less precise)..."
|
||||
|
||||
START_MS=$(date +%s%3N)
|
||||
bun test --reporter=json --coverage > /tmp/test-results.json 2>&1
|
||||
END_MS=$(date +%s%3N)
|
||||
|
||||
TIME_MS=$((END_MS - START_MS))
|
||||
fi
|
||||
# Run tests locally with millisecond precision using bun
|
||||
echo "Running tests with bun runtime..."
|
||||
|
||||
START_MS=$(date +%s%3N)
|
||||
bun test --reporter=json --coverage > /tmp/test-results.json 2>&1
|
||||
END_MS=$(date +%s%3N)
|
||||
|
||||
TIME_MS=$((END_MS - START_MS))
|
||||
echo "Execution time: ${TIME_MS}ms"
|
||||
|
||||
# Run additional test suites
|
||||
bun test:e2e --reporter=json >> /tmp/test-results.json 2>&1 || true
|
||||
|
||||
Reference in New Issue
Block a user