Skip to content

Commit 1b3c5eb

Browse files
authored
Merge pull request #1 from Saurabh-LT/pushingCI
Pushing CI
2 parents baf643f + 2d3b5d2 commit 1b3c5eb

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Java test-NG Wrapper CI
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
workflow_dispatch:
7+
8+
env:
9+
LT_USERNAME: ${{ secrets.LT_USERNAME }}
10+
LT_ACCESS_KEY: ${{ secrets.LT_ACCESS_KEY }}
11+
PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }}
12+
13+
jobs:
14+
smartui-java-sdk:
15+
name: Execute java sdk build
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout repo
19+
uses: actions/checkout@v2
20+
21+
- name: Install Dependencies and clean directory
22+
run: |
23+
npm i @lambdatest/smartui-cli@2.0.4
24+
ls -la
25+
mvn clean compile
26+
27+
- name: Execute java wrapper
28+
run: |
29+
npx smartui --version
30+
ls -la
31+
npx smartui config:create smartui-web.json
32+
npx smartui --config smartui-web.json exec -- mvn test -D suite=sdk-cloud.xml

0 commit comments

Comments
 (0)