mirror of
https://github.com/openai/codex.git
synced 2026-11-08 20:40:33 +00:00
Add real-process Python goal tests
This commit is contained in:
@@ -45,7 +45,7 @@ jobs:
|
||||
runs-on:
|
||||
group: codex-runners
|
||||
labels: codex-linux-x64
|
||||
timeout-minutes: 10
|
||||
timeout-minutes: 15
|
||||
environment:
|
||||
name: bazel
|
||||
deployment: false
|
||||
@@ -141,6 +141,16 @@ jobs:
|
||||
set -euo pipefail
|
||||
"${CODEX_EXEC_PATH}" --version
|
||||
|
||||
- name: Test Python goal turns against source Codex
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
python3 -m venv /tmp/codex-python-sdk-uv
|
||||
/tmp/codex-python-sdk-uv/bin/python -m pip install uv==0.11.3
|
||||
cd sdk/python
|
||||
/tmp/codex-python-sdk-uv/bin/uv sync --extra dev --frozen
|
||||
/tmp/codex-python-sdk-uv/bin/uv run --extra dev pytest tests/test_app_server_goal_turns.py
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user