Skip to content

Commit

Permalink
Merge pull request #102 from zcervink/101
Browse files Browse the repository at this point in the history
Add support for IntelliJ IDEA 2021.1 (Community Edition), 2021.2 (Community Edition), 2021.3 (Community Edition)
  • Loading branch information
odockal authored May 4, 2022
2 parents 6d6e34d + 4349fb9 commit 9743c40
Show file tree
Hide file tree
Showing 29 changed files with 1,403 additions and 232 deletions.
112 changes: 112 additions & 0 deletions .github/workflows/dialogs.information_settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# 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.information, dialogs.settings

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build-linux:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Run integration tests
run: |
export DISPLAY=:99.0
Xvfb -ac :99 -screen 0 1920x1080x24 &
cd src/test-project
chmod +x gradlew
./gradlew clean test --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.information.* --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.settings.*
- uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-test-reports
path: src/test-project/build/reports/tests/test
if: always()
- name: Archiving screenshots
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-screenshots
path: src/test-project/build/screenshots/*
if: always()
- name: Archiving StepLogger logs
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-steplogger-logs
path: src/test-project/build/test-results/*
if: always()


build-macos:
runs-on: macos-11

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Run integration tests
run: |
cd src/test-project
chmod +x gradlew
./gradlew clean test --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.information.* --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.settings.*
- uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-test-reports
path: src/test-project/build/reports/tests/test
if: always()
- name: Archiving screenshots
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-screenshots
path: src/test-project/build/screenshots/*
if: always()
- name: Archiving StepLogger logs
uses: actions/upload-artifact@v2
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@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Run integration tests
run: |
cd src\test-project
chmod +x gradlew.bat
.\gradlew.bat clean test --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.information.* --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.settings.*
shell: powershell
- uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-test-reports
path: src\test-project\build\reports\tests\test
if: always()
- name: Archiving screenshots
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-screenshots
path: src\test-project\build\screenshots\*
if: always()
- name: Archiving StepLogger logs
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-steplogger-logs
path: src\test-project\build\test-results\*
if: always()
112 changes: 112 additions & 0 deletions .github/workflows/dialogs.project_manipulation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# 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@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Run integration tests
run: |
export DISPLAY=:99.0
Xvfb -ac :99 -screen 0 1920x1080x24 &
cd src/test-project
chmod +x gradlew
./gradlew clean test --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.project_manipulation.*
- uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-test-reports
path: src/test-project/build/reports/tests/test
if: always()
- name: Archiving screenshots
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-screenshots
path: src/test-project/build/screenshots/*
if: always()
- name: Archiving StepLogger logs
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-steplogger-logs
path: src/test-project/build/test-results/*
if: always()


build-macos:
runs-on: macos-11

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Run integration tests
run: |
cd src/test-project
chmod +x gradlew
./gradlew clean test --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.project_manipulation.*
- uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-test-reports
path: src/test-project/build/reports/tests/test
if: always()
- name: Archiving screenshots
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-screenshots
path: src/test-project/build/screenshots/*
if: always()
- name: Archiving StepLogger logs
uses: actions/upload-artifact@v2
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@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Run integration tests
run: |
cd src\test-project
chmod +x gradlew.bat
.\gradlew.bat clean test --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.project_manipulation.*
shell: powershell
- uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-test-reports
path: src\test-project\build\reports\tests\test
if: always()
- name: Archiving screenshots
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-screenshots
path: src\test-project\build\screenshots\*
if: always()
- name: Archiving StepLogger logs
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-steplogger-logs
path: src\test-project\build\test-results\*
if: always()
112 changes: 112 additions & 0 deletions .github/workflows/dialogs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# 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

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build-linux:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Run integration tests
run: |
export DISPLAY=:99.0
Xvfb -ac :99 -screen 0 1920x1080x24 &
cd src/test-project
chmod +x gradlew
./gradlew clean test --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.FlatWelcomeFrameTest
- uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-test-reports
path: src/test-project/build/reports/tests/test
if: always()
- name: Archiving screenshots
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-screenshots
path: src/test-project/build/screenshots/*
if: always()
- name: Archiving StepLogger logs
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-steplogger-logs
path: src/test-project/build/test-results/*
if: always()


build-macos:
runs-on: macos-11

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Run integration tests
run: |
cd src/test-project
chmod +x gradlew
./gradlew clean test --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.FlatWelcomeFrameTest
- uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-test-reports
path: src/test-project/build/reports/tests/test
if: always()
- name: Archiving screenshots
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-screenshots
path: src/test-project/build/screenshots/*
if: always()
- name: Archiving StepLogger logs
uses: actions/upload-artifact@v2
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@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Run integration tests
run: |
cd src\test-project
chmod +x gradlew.bat
.\gradlew.bat clean test --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.FlatWelcomeFrameTest
shell: powershell
- uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-test-reports
path: src\test-project\build\reports\tests\test
if: always()
- name: Archiving screenshots
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-screenshots
path: src\test-project\build\screenshots\*
if: always()
- name: Archiving StepLogger logs
uses: actions/upload-artifact@v2
with:
name: ${{ runner.os }}-steplogger-logs
path: src\test-project\build\test-results\*
if: always()
Loading

0 comments on commit 9743c40

Please sign in to comment.