Created
December 9, 2024 18:38
-
-
Save borodicht/5313c8f6fc70f0eb2638ccb390edb21a to your computer and use it in GitHub Desktop.
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
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven | |
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
name: Runner tests | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
USERNAME: ${{secrets.SD_USER}} | |
PASSWORD: ${{secrets.SD_PASSWORD}} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout Gir | |
uses: actions/checkout@v4 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: maven | |
- name: setup browser | |
uses: abhi1693/[email protected] | |
with: | |
browser: firefox | |
- name: Test run | |
run: mvn clean test -Duser=$USERNAME -Dpassword=$PASSWORD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment