Skip to content

Commit 3a8af22

Browse files
committed
Add CI
1 parent dcb0365 commit 3a8af22

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/sdk_ci.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
name: Python SDK Wrapper CI
23
on:
34
pull_request:
@@ -18,22 +19,20 @@ jobs:
1819
runs-on: ubuntu-latest
1920
steps:
2021
- name: Checkout code
21-
if: github.event_name == 'pull_request'
2222
uses: actions/checkout@v3
23-
with:
24-
ref: ${{ github.head_ref }}
2523

26-
- name: Install Dependencies
24+
- name: Set up Python environment
25+
run: |
26+
python -m venv venv
27+
source venv/bin/activate
28+
29+
- name: Install NPM Dependencies
2730
run: |
2831
npm i @lambdatest/smartui-cli
29-
30-
- name: List directory contents
31-
run: ls -la
32-
33-
- name: Execute Python Wrapper
32+
33+
- name: Install Python Dependencies and Execute Python Wrapper
3434
run: |
3535
pip install lambdatest-selenium-driver
3636
npx smartui --version
3737
npx smartui config:create smartui-web.json
3838
npx smartui exec python SmartUI_SDK_LT_hub.py --config smartui-web.json
39-
working-directory: ${{ github.workspace }}

0 commit comments

Comments
 (0)