Selenium Cucumber Tests #1236
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Selenium 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@v5 | |
| - name: Set up Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: 21 | |
| distribution: "temurin" | |
| - name: Run tests | |
| working-directory: ./selenium-cucumber-examples | |
| env: | |
| SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} | |
| SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} | |
| run: mvn test |