@@ -19,12 +19,14 @@ jobs:
1919
2020 - uses : pnpm/action-setup@v3
2121 if : ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') }}
22+ with :
23+ version : 9.5
2224
23- - name : Setup Node.js 20
25+ - name : Setup Node.js 18
2426 uses : actions/setup-node@v4
2527 if : ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') }}
2628 with :
27- node-version : 20
29+ node-version : ' 18.x '
2830 registry-url : https://registry.npmjs.org
2931 cache : pnpm
3032
3840 if : ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') }}
3941 run : pnpm install --frozen-lockfile
4042
43+ - name : Test JS SDK
44+ working-directory : js
45+ if : ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') }}
46+ run : |
47+ pnpm run test
48+ env :
49+ E2B_API_KEY : ${{ secrets.E2B_API_KEY }}
50+
4151 - name : Release JS Candidate
4252 working-directory : js
4353 if : ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') }}
5161 uses : actions/setup-python@v4
5262 if : ${{ contains( github.event.pull_request.labels.*.name, 'python-rc') }}
5363 with :
54- python-version : " 3.10 "
64+ python-version : " 3.8 "
5565
5666 - name : Install and configure Poetry
5767 uses : snok/install-poetry@v1
6272 virtualenvs-in-project : true
6373 installer-parallel : true
6474
75+ - name : Test Python SDK
76+ if : ${{ contains( github.event.pull_request.labels.*.name, 'python-rc') }}
77+ working-directory : python
78+ run : |
79+ poetry install
80+ poetry run pytest -n 4 --verbose -x
81+ env :
82+ E2B_API_KEY : ${{ secrets.E2B_API_KEY }}
83+
6584 - name : Release Candidate
6685 if : ${{ contains( github.event.pull_request.labels.*.name, 'python-rc') }}
6786 working-directory : python
0 commit comments