Skip to content

Commit 118bf36

Browse files
ci: use local Docker backend instead of Modal for CI tests
Modal requires authentication tokens that aren't available to fork PRs. Using the local Docker backend allows CI to run without Modal credentials. Co-authored-by: openhands <openhands@all-hands.dev>
1 parent 07ad9d3 commit 118bf36

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/system.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,13 @@ jobs:
2525
- name: Get tests
2626
run: uv run commit0 get-tests simpy
2727
- name: Test
28-
env:
29-
MODAL_TOKEN_ID: ${{secrets.MODAL_TOKEN_ID}}
30-
MODAL_TOKEN_SECRET: ${{secrets.MODAL_TOKEN_SECRET}}
3128
run: |
32-
uv run commit0 test simpy tests/test_event.py::test_succeed --reference --rebuild
33-
uv run commit0 test simpy tests/test_event.py::test_succeed --reference
29+
uv run commit0 test simpy tests/test_event.py::test_succeed --reference --rebuild --backend local
30+
uv run commit0 test simpy tests/test_event.py::test_succeed --reference --backend local
3431
- name: Evaluate
35-
env:
36-
MODAL_TOKEN_ID: ${{secrets.MODAL_TOKEN_ID}}
37-
MODAL_TOKEN_SECRET: ${{secrets.MODAL_TOKEN_SECRET}}
3832
run: |
39-
uv run commit0 evaluate --reference --rebuild
40-
uv run commit0 evaluate --reference
33+
uv run commit0 evaluate --reference --rebuild --backend local
34+
uv run commit0 evaluate --reference --backend local
4135
- name: Lint
4236
run: uv run commit0 lint commit0/harness/
4337
- name: Save

0 commit comments

Comments
 (0)