Skip to content

Commit 0c6364a

Browse files
committed
.
1 parent f6a9597 commit 0c6364a

2 files changed

Lines changed: 4 additions & 16 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,8 @@ jobs:
7272
- name: Pull executor Docker image
7373
run: docker pull onyxdotapp/python-executor-sci:latest
7474

75-
- name: Test Docker image can run
76-
run: |
77-
echo "Testing if the Docker image can start and sleep..."
78-
docker run --rm -d --name test-container onyxdotapp/python-executor-sci:latest sleep 30
79-
sleep 2
80-
docker ps -a | grep test-container || echo "Container not found!"
81-
docker logs test-container || echo "No logs"
82-
docker stop test-container || true
83-
8475
- name: Run integration tests
85-
run: uv run pytest tests/integration_tests -v --tb=short -x -s
76+
run: uv run pytest tests/integration_tests -v --tb=short -x
8677

8778
- name: Show Docker container logs on failure
8879
if: failure()

code-interpreter/tests/integration_tests/test_data_stack.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,14 @@ def test_numpy_pandas_matplotlib_stack() -> None:
4444
json={
4545
"code": code,
4646
"stdin": None,
47-
"timeout_ms": 2000,
47+
"timeout_ms": 5000,
4848
},
4949
)
5050

5151
assert response.status_code == 200
5252
payload = response.json()
53-
print(f"DEBUG: Full payload: {payload}")
54-
assert payload["stderr"] == "", f"stderr was: {payload['stderr']}"
55-
assert payload["exit_code"] == 0, (
56-
f"exit_code was: {payload['exit_code']}, timed_out: {payload.get('timed_out')}"
57-
)
53+
assert payload["stderr"] == ""
54+
assert payload["exit_code"] == 0
5855
assert payload["timed_out"] is False
5956

6057
stdout = payload["stdout"].strip()

0 commit comments

Comments
 (0)