Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/helix-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Helix Validation

on:
pull_request:
workflow_dispatch:

jobs:
validate:
if: github.event_name == 'workflow_dispatch' ||
(github.base_ref == github.event.repository.default_branch &&
github.head_ref == 'docker-golden-solution')
uses: handshake-coding/handshake-orchestration/.github/workflows/helix-validation.yml@main
secrets: inherit
19 changes: 19 additions & 0 deletions .helix/Dockerfile.helix
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM python:3.14-slim

WORKDIR /workspace

RUN apt-get update && apt-get install -y --no-install-recommends \
git \
ca-certificates \
curl \
&& rm -rf /var/lib/apt/lists/*

RUN git config --unset-all http.https://github.com/.extraheader || true

RUN python -m pip install --no-cache-dir "poetry==2.1.3" && \
poetry config virtualenvs.create false

COPY . /workspace

RUN poetry lock --no-interaction --no-ansi
RUN poetry install --no-interaction --no-ansi
1 change: 1 addition & 0 deletions .helix/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"instance_id":"handshake","task_title":"handshake","problem_statement":"","hints":"","repo":"handshake","repo_path_or_url":"handshake","FAIL_TO_PASS":"","PASS_TO_PASS":"","language":"handshake","docker_file":"handshake","run_script":"handshake","task_type":"handshake","task_category":"handshake","repo_category":"handshake","version":"handshake","container_mem":"handshake","container_memswap":"handshake","container_network_needed":"handshake"}]
12 changes: 12 additions & 0 deletions .helix/run-tests-eval.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail

cd "$(dirname "$0")/.."

if [ $# -eq 0 ]; then
pytest
exit 0
fi

IFS=',' read -r -a files <<< "$1"
pytest "${files[@]}"