Skip to content

Cucumber Tests

Cucumber Tests #598

name: Cucumber Tests
on:
schedule:
- cron: '35 19 * * *'
workflow_dispatch:
push:
branches: [ main ]
paths:
- '**/selenium-cucumber-examples/**'
- 'pom.*'
pull_request:
paths:
- '**/selenium-cucumber-examples/**'
- 'pom.*'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: 11
distribution: "temurin"
- name: Run tests
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
run: mvn test -pl selenium-cucumber-examples -X