Skip to content

Commit 2761fe3

Browse files
TGJLSclaude
andcommitted
fix: restore uv tool install now that container image is fixed
The adaptix-container image now preserves pip3 (autoremove removed), so uv is available. PATH is set before the uv call so the reinstall and the adaptix-testing entry point are both found. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent bbc026b commit 2761fe3

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/test.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -194,13 +194,11 @@ jobs:
194194
"$CI_CONTAINER" \
195195
bash -c '
196196
export PATH="/usr/local/bin:/root/.local/bin:$PATH"
197-
# Extract venv Python from the installed entry point's shebang —
198-
# guaranteed correct regardless of Python version or tool name.
199-
VENV_PY=$(sed -n '1s/^#!//p' /root/.local/bin/adaptix-testing)
197+
uv tool install /workspace --reinstall
200198
201199
# ── Feature validation (no server required) ──────────────────
202200
echo "=== Feature validation ==="
203-
"$VENV_PY" /workspace/run.py --help 2>&1 | grep -q -- "-o" && \
201+
adaptix-testing --help 2>&1 | grep -q -- "-o" && \
204202
echo "✓ --output flag available" || \
205203
{ echo "✗ --output flag missing from CLI"; exit 1; }
206204
echo "=== Feature validation passed ==="
@@ -230,7 +228,7 @@ jobs:
230228
231229
# ── Integration tests (exercises --output and preamble) ──────
232230
echo "AdaptixC2 Ready! Running integration tests..."
233-
"$VENV_PY" /workspace/run.py -c /tmp/ci_config.yaml -t /workspace/.github/ci/tasks.yaml \
231+
adaptix-testing -c /tmp/ci_config.yaml -t /workspace/.github/ci/tasks.yaml \
234232
-o /tmp/ci-results.txt
235233
TEST_EXIT_CODE=$?
236234

0 commit comments

Comments
 (0)