Skip to content

Fixed a unit test

Fixed a unit test #534

name: Smoke Tests (BrowserStack)
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2 # Update to v2

Check failure on line 11 in .github/workflows/smoketest_browserstack.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/smoketest_browserstack.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
- name: Set up JDK 17
uses: actions/setup-java@v2 # Update to v2
with:
distribution: 'temurin' # 'temurin' distribution provides OpenJ9 builds of the OpenJDK
java-version: '17'
- name: Cache the Maven packages to speed up build
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Snapshot Build
run: mvn clean install -T4 -DskipTests
- name: Smoke Tests
run: cd serenity-smoketests && mvn verify -Denvironment=browserstack -Dbrowserstack.user=${{ secrets.BROWSERSTACK_USER }} -Dbrowserstack.key=${{ secrets.BROWSERSTACK_KEY }}