Skip to content

BrowserStack Web Tests #41

BrowserStack Web Tests

BrowserStack Web Tests #41

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