Skip to content

Commit 8657842

Browse files
authored
Merge pull request #3 from LambdaTest/stage
added demo test
2 parents f4b1bf2 + de599ad commit 8657842

File tree

11 files changed

+373
-13463
lines changed

11 files changed

+373
-13463
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
branches:
55
- main
66

7+
env:
8+
LT_USERNAME: ${{ secrets.LT_USERNAME }}
9+
LT_ACCESS_KEY: ${{ secrets.LT_ACCESS_KEY }}
10+
GRID_HOST: ${{ secrets.GRID_HOST }}
11+
712
jobs:
813
Find-GitSHA:
914
name: find Git Sha
@@ -36,11 +41,18 @@ jobs:
3641
echo "Current Commit ID REF : $REF"
3742
STATUS_URL=$API_HOST/repos/$OWNER/$REPO/statuses/$COMMIT_ID
3843
echo "STATUS_URL: $STATUS_URL"
44+
echo "GITHUB_URL=$STATUS_URL" >> $GITHUB_ENV
3945
curl -X POST $STATUS_URL \
4046
-H "Authorization: Bearer $GITHUB_TOKEN" \
4147
-H "Content-Type: application/json" \
4248
-d '{
4349
"state": "success",
4450
"description": "The build was successful.",
4551
"context": "ci/smartui-github-testing"
46-
}'
52+
}'
53+
54+
- name: Install Dependecies
55+
run: npm install
56+
57+
- name: Execute Test
58+
run: npm test

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/*

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# smartui-github-testing
22

33

4-
For Testing Github App Integration with SmartUI
4+
For Testing Github App Integration with SmartUI
5+

guacamole.html

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)