Skip to content

Commit 44c2926

Browse files
committed
Change to _TESTS_
1 parent 7ce915f commit 44c2926

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

.github/workflows/cleanup_build_template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
E2B_DOMAIN:
1010
required: false
1111
type: string
12-
E2B_TEST_TEMPLATE:
12+
E2B_TESTS_TEMPLATE:
1313
required: true
1414
type: string
1515

@@ -27,7 +27,7 @@ jobs:
2727
- name: Cleanup E2B template
2828
id: cleanup-template
2929
run: |
30-
e2b template delete "${{ inputs.E2B_TEST_TEMPLATE }}"
30+
e2b template delete "${{ inputs.E2B_TESTS_TEMPLATE }}"
3131
env:
3232
E2B_ACCESS_TOKEN: ${{ secrets.E2B_TESTS_ACCESS_TOKEN }}
3333
E2B_DOMAIN: ${{ inputs.E2B_DOMAIN }}

.github/workflows/js_tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
E2B_DOMAIN:
1010
required: false
1111
type: string
12-
E2B_TEST_TEMPLATE:
12+
E2B_TESTS_TEMPLATE:
1313
required: false
1414
type: string
1515

@@ -57,7 +57,7 @@ jobs:
5757
env:
5858
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
5959
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
60-
E2B_TEST_TEMPLATE: ${{ inputs.E2B_TEST_TEMPLATE }}
60+
E2B_TESTS_TEMPLATE: ${{ inputs.E2B_TESTS_TEMPLATE }}
6161

6262
- name: Install Bun
6363
uses: oven-sh/setup-bun@v2
@@ -69,7 +69,7 @@ jobs:
6969
env:
7070
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
7171
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
72-
E2B_TEST_TEMPLATE: ${{ inputs.E2B_TEST_TEMPLATE }}
72+
E2B_TESTS_TEMPLATE: ${{ inputs.E2B_TESTS_TEMPLATE }}
7373

7474
- name: Install Deno
7575
uses: denoland/setup-deno@v1
@@ -81,4 +81,4 @@ jobs:
8181
env:
8282
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
8383
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
84-
E2B_TEST_TEMPLATE: ${{ inputs.E2B_TEST_TEMPLATE }}
84+
E2B_TESTS_TEMPLATE: ${{ inputs.E2B_TESTS_TEMPLATE }}

.github/workflows/pull_request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
3030
with:
3131
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
32-
E2B_TEST_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
32+
E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
3333
python-sdk:
3434
uses: ./.github/workflows/python_tests.yml
3535
needs: build-template
@@ -38,7 +38,7 @@ jobs:
3838
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
3939
with:
4040
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
41-
E2B_TEST_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
41+
E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
4242
cleanup-build-template:
4343
uses: ./.github/workflows/cleanup_build_template.yml
4444
needs: [build-template, js-sdk, python-sdk]
@@ -47,6 +47,6 @@ jobs:
4747
E2B_TESTS_ACCESS_TOKEN: ${{ secrets.E2B_TESTS_ACCESS_TOKEN }}
4848
with:
4949
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
50-
E2B_TEST_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
50+
E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
5151
charts-tests:
5252
uses: ./.github/workflows/charts_tests.yml

.github/workflows/python_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
E2B_DOMAIN:
1010
required: false
1111
type: string
12-
E2B_TEST_TEMPLATE:
12+
E2B_TESTS_TEMPLATE:
1313
required: false
1414
type: string
1515

@@ -51,4 +51,4 @@ jobs:
5151
env:
5252
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
5353
E2B_DOMAIN: ${{ inputs.E2B_DOMAIN }}
54-
E2B_TEST_TEMPLATE: ${{ inputs.E2B_TEST_TEMPLATE }}
54+
E2B_TESTS_TEMPLATE: ${{ inputs.E2B_TESTS_TEMPLATE }}

js/tests/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { test as base } from 'vitest'
33

44
const timeoutMs = 60_000
55

6-
const template = process.env.E2B_TEST_TEMPLATE || 'code-interpreter-v1'
6+
const template = process.env.E2B_TESTS_TEMPLATE || 'code-interpreter-v1'
77

88
interface SandboxFixture {
99
sandbox: Sandbox

python/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
@pytest.fixture()
1414
def template():
15-
return os.getenv("E2B_TEST_TEMPLATE", "code-interpreter-v1")
15+
return os.getenv("E2B_TESTS_TEMPLATE", "code-interpreter-v1")
1616

1717

1818
@pytest.fixture()

0 commit comments

Comments
 (0)