Skip to content

Commit

Permalink
Merge pull request #110 from Rakshithb1/master
Browse files Browse the repository at this point in the history
[DSD-5590] Created browserstack-web.yml
  • Loading branch information
vijay151096 authored Jul 10, 2024
2 parents 512de5e + 77b9aec commit 46ad237
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/browserstack-web.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: BrowserStack Web Tests

on:
workflow_dispatch:
inputs:
message:
description: 'Message for manually triggering'
required: false
default: 'Triggered for Updates'
type: string
push:
branches:
- '!release-branch'
- release*
- master
- 1.*
- develop

jobs:
inji-web-test:
runs-on: ubuntu-latest
env:
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run tests
run: |
cd inji-web-test
mvn clean test -DtestngXmlFile="TestNg.xml"
- name: Save test reports
uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: test-reports
path: inji-web-test/test-output

0 comments on commit 46ad237

Please sign in to comment.