Skip to content

Commit cb382a7

Browse files
committed
on PR quick iteration around
1 parent 7682e3b commit cb382a7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/pull_request.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,13 @@ jobs:
3838
E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
3939
performance-tests:
4040
uses: ./.github/workflows/performance_tests.yml
41-
needs: build-template
41+
# needs: build-template
4242
secrets:
4343
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
4444
with:
4545
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
46-
E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
46+
# E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
47+
E2B_TESTS_TEMPLATE: "code-interpreter-v1"
4748
cleanup-build-template:
4849
uses: ./.github/workflows/cleanup_build_template.yml
4950
needs: [build-template, js-sdk, python-sdk, performance-tests]

python/tests/performance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
print(f"\n--- Iteration {i + 1}/{iterations_count} ---")
1818

1919
start_time = time.time()
20-
sbx = Sandbox(template)
20+
sbx = Sandbox.create(template=template)
2121
end_time = time.time()
2222
sandbox_creation_time = (end_time - start_time) * 1000
2323
sandbox_creation_times.append(sandbox_creation_time)

0 commit comments

Comments
 (0)