Skip to content

Commit b67d0bf

Browse files
ci: run interpreter tests in a separate workflow
Co-Authored-By: mish@e2b.dev <mish@e2b.dev>
1 parent 361f055 commit b67d0bf

2 files changed

Lines changed: 33 additions & 3 deletions

File tree

‎.github/workflows/lint.yml‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ jobs:
5757
run: |
5858
pnpm run lint
5959
60-
- name: Test interpreter server
61-
run: uv run --with-requirements template/requirements-test.txt pytest template/tests
62-
6360
- name: Run formatting
6461
run: |
6562
pnpm run format

‎.github/workflows/server_tests.yml‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Interpreter Server Tests
2+
3+
on:
4+
pull_request:
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
test:
11+
name: Interpreter Server Tests
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 10
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
17+
18+
- name: Parse .tool-versions
19+
uses: wistia/parse-tool-versions@32f568a4ffd4bfa7720ebf93f171597d1ebc979a # v2.1.1
20+
with:
21+
filename: '.tool-versions'
22+
uppercase: 'true'
23+
prefix: 'tool_version_'
24+
25+
- name: Install uv
26+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
27+
with:
28+
version: '${{ env.TOOL_VERSION_UV }}'
29+
python-version: '${{ env.TOOL_VERSION_PYTHON }}'
30+
enable-cache: true
31+
32+
- name: Test interpreter server
33+
run: uv run --with-requirements template/requirements-test.txt pytest template/tests

0 commit comments

Comments
 (0)