Debug CI macOS GUI environment #431
This file contains 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 Gradle | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | |
name: Gradle CI tests | |
on: | |
push: | |
branches: [ master, workflow_test_macos ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
macos: | |
runs-on: macos-latest | |
timeout-minutes: 10 | |
continue-on-error: true | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [ '11', '17', '21' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Java ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'corretto' | |
java-version: ${{ matrix.java }} | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Prepare TESTAR protocols | |
run: ./gradlew init_workflow_test | |
- name: Build TESTAR with Gradle | |
run: ./gradlew build | |
- name: Prepare installed distribution of TESTAR with Gradle | |
run: ./gradlew installDist | |
- name: Run webdriver protocol and detect SuspiciousTag | |
run: ./gradlew runTestWebdriverSuspiciousTagMacOS |