chore(deps): bump org.junit.jupiter:junit-jupiter-api from 5.11.3 to 5.11.4 #740
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: Java CI with Gradle - dialogs.project_manipulation | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Run integration tests | |
run: | | |
export DISPLAY=:99.0 | |
Xvfb -ac :99 -screen 0 1920x1080x24 & | |
cd src/test-project | |
chmod +x gradlew | |
./gradlew clean integrationUITest --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.project_manipulation.* | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ runner.os }}-test-reports | |
path: src/test-project/build/reports/tests/test | |
if: always() | |
- name: Archiving screenshots | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ runner.os }}-screenshots | |
path: src/test-project/build/screenshots/* | |
if: always() | |
- name: Archiving StepLogger logs | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ runner.os }}-steplogger-logs | |
path: src/test-project/build/test-results/* | |
if: always() | |
build-macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Run integration tests | |
run: | | |
cd src/test-project | |
chmod +x gradlew | |
./gradlew clean integrationUITest --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.project_manipulation.* | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ runner.os }}-test-reports | |
path: src/test-project/build/reports/tests/test | |
if: always() | |
- name: Archiving screenshots | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ runner.os }}-screenshots | |
path: src/test-project/build/screenshots/* | |
if: always() | |
- name: Archiving StepLogger logs | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ runner.os }}-steplogger-logs | |
path: src/test-project/build/test-results/* | |
if: always() | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 11 # Java 11 is only used for test NewProjectDialogTest/setProjectSdkIfAvailableTest | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 11 | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Run integration tests | |
run: | | |
cd src\test-project | |
chmod +x gradlew.bat | |
.\gradlew.bat clean integrationUITest --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.project_manipulation.* | |
shell: powershell | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ runner.os }}-test-reports | |
path: src\test-project\build\reports\tests\test | |
if: always() | |
- name: Archiving screenshots | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ runner.os }}-screenshots | |
path: src\test-project\build\screenshots\* | |
if: always() | |
- name: Archiving StepLogger logs | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ runner.os }}-steplogger-logs | |
path: src\test-project\build\test-results\* | |
if: always() |