Skip to content

Commit 9743c40

Browse files
authored
Merge pull request #102 from zcervink/101
Add support for IntelliJ IDEA 2021.1 (Community Edition), 2021.2 (Community Edition), 2021.3 (Community Edition)
2 parents 6d6e34d + 4349fb9 commit 9743c40

File tree

29 files changed

+1403
-232
lines changed

29 files changed

+1403
-232
lines changed
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# This workflow will build a Java project with Gradle
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3+
4+
name: Java CI with Gradle - dialogs.information, dialogs.settings
5+
6+
on:
7+
push:
8+
branches: [ main ]
9+
pull_request:
10+
branches: [ main ]
11+
12+
jobs:
13+
build-linux:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up JDK 11
19+
uses: actions/setup-java@v1
20+
with:
21+
java-version: 11
22+
- name: Run integration tests
23+
run: |
24+
export DISPLAY=:99.0
25+
Xvfb -ac :99 -screen 0 1920x1080x24 &
26+
cd src/test-project
27+
chmod +x gradlew
28+
./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.*
29+
- uses: actions/upload-artifact@v2
30+
with:
31+
name: ${{ runner.os }}-test-reports
32+
path: src/test-project/build/reports/tests/test
33+
if: always()
34+
- name: Archiving screenshots
35+
uses: actions/upload-artifact@v2
36+
with:
37+
name: ${{ runner.os }}-screenshots
38+
path: src/test-project/build/screenshots/*
39+
if: always()
40+
- name: Archiving StepLogger logs
41+
uses: actions/upload-artifact@v2
42+
with:
43+
name: ${{ runner.os }}-steplogger-logs
44+
path: src/test-project/build/test-results/*
45+
if: always()
46+
47+
48+
build-macos:
49+
runs-on: macos-11
50+
51+
steps:
52+
- uses: actions/checkout@v2
53+
- name: Set up JDK 11
54+
uses: actions/setup-java@v1
55+
with:
56+
java-version: 11
57+
- name: Run integration tests
58+
run: |
59+
cd src/test-project
60+
chmod +x gradlew
61+
./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.*
62+
- uses: actions/upload-artifact@v2
63+
with:
64+
name: ${{ runner.os }}-test-reports
65+
path: src/test-project/build/reports/tests/test
66+
if: always()
67+
- name: Archiving screenshots
68+
uses: actions/upload-artifact@v2
69+
with:
70+
name: ${{ runner.os }}-screenshots
71+
path: src/test-project/build/screenshots/*
72+
if: always()
73+
- name: Archiving StepLogger logs
74+
uses: actions/upload-artifact@v2
75+
with:
76+
name: ${{ runner.os }}-steplogger-logs
77+
path: src/test-project/build/test-results/*
78+
if: always()
79+
80+
81+
build-windows:
82+
runs-on: windows-latest
83+
84+
steps:
85+
- uses: actions/checkout@v2
86+
- name: Set up JDK 11
87+
uses: actions/setup-java@v1
88+
with:
89+
java-version: 11
90+
- name: Run integration tests
91+
run: |
92+
cd src\test-project
93+
chmod +x gradlew.bat
94+
.\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.*
95+
shell: powershell
96+
- uses: actions/upload-artifact@v2
97+
with:
98+
name: ${{ runner.os }}-test-reports
99+
path: src\test-project\build\reports\tests\test
100+
if: always()
101+
- name: Archiving screenshots
102+
uses: actions/upload-artifact@v2
103+
with:
104+
name: ${{ runner.os }}-screenshots
105+
path: src\test-project\build\screenshots\*
106+
if: always()
107+
- name: Archiving StepLogger logs
108+
uses: actions/upload-artifact@v2
109+
with:
110+
name: ${{ runner.os }}-steplogger-logs
111+
path: src\test-project\build\test-results\*
112+
if: always()
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# This workflow will build a Java project with Gradle
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3+
4+
name: Java CI with Gradle - dialogs.project_manipulation
5+
6+
on:
7+
push:
8+
branches: [ main ]
9+
pull_request:
10+
branches: [ main ]
11+
12+
jobs:
13+
build-linux:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up JDK 11
19+
uses: actions/setup-java@v1
20+
with:
21+
java-version: 11
22+
- name: Run integration tests
23+
run: |
24+
export DISPLAY=:99.0
25+
Xvfb -ac :99 -screen 0 1920x1080x24 &
26+
cd src/test-project
27+
chmod +x gradlew
28+
./gradlew clean test --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.project_manipulation.*
29+
- uses: actions/upload-artifact@v2
30+
with:
31+
name: ${{ runner.os }}-test-reports
32+
path: src/test-project/build/reports/tests/test
33+
if: always()
34+
- name: Archiving screenshots
35+
uses: actions/upload-artifact@v2
36+
with:
37+
name: ${{ runner.os }}-screenshots
38+
path: src/test-project/build/screenshots/*
39+
if: always()
40+
- name: Archiving StepLogger logs
41+
uses: actions/upload-artifact@v2
42+
with:
43+
name: ${{ runner.os }}-steplogger-logs
44+
path: src/test-project/build/test-results/*
45+
if: always()
46+
47+
48+
build-macos:
49+
runs-on: macos-11
50+
51+
steps:
52+
- uses: actions/checkout@v2
53+
- name: Set up JDK 11
54+
uses: actions/setup-java@v1
55+
with:
56+
java-version: 11
57+
- name: Run integration tests
58+
run: |
59+
cd src/test-project
60+
chmod +x gradlew
61+
./gradlew clean test --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.project_manipulation.*
62+
- uses: actions/upload-artifact@v2
63+
with:
64+
name: ${{ runner.os }}-test-reports
65+
path: src/test-project/build/reports/tests/test
66+
if: always()
67+
- name: Archiving screenshots
68+
uses: actions/upload-artifact@v2
69+
with:
70+
name: ${{ runner.os }}-screenshots
71+
path: src/test-project/build/screenshots/*
72+
if: always()
73+
- name: Archiving StepLogger logs
74+
uses: actions/upload-artifact@v2
75+
with:
76+
name: ${{ runner.os }}-steplogger-logs
77+
path: src/test-project/build/test-results/*
78+
if: always()
79+
80+
81+
build-windows:
82+
runs-on: windows-latest
83+
84+
steps:
85+
- uses: actions/checkout@v2
86+
- name: Set up JDK 11
87+
uses: actions/setup-java@v1
88+
with:
89+
java-version: 11
90+
- name: Run integration tests
91+
run: |
92+
cd src\test-project
93+
chmod +x gradlew.bat
94+
.\gradlew.bat clean test --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.project_manipulation.*
95+
shell: powershell
96+
- uses: actions/upload-artifact@v2
97+
with:
98+
name: ${{ runner.os }}-test-reports
99+
path: src\test-project\build\reports\tests\test
100+
if: always()
101+
- name: Archiving screenshots
102+
uses: actions/upload-artifact@v2
103+
with:
104+
name: ${{ runner.os }}-screenshots
105+
path: src\test-project\build\screenshots\*
106+
if: always()
107+
- name: Archiving StepLogger logs
108+
uses: actions/upload-artifact@v2
109+
with:
110+
name: ${{ runner.os }}-steplogger-logs
111+
path: src\test-project\build\test-results\*
112+
if: always()

.github/workflows/dialogs.yml

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# This workflow will build a Java project with Gradle
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3+
4+
name: Java CI with Gradle - dialogs
5+
6+
on:
7+
push:
8+
branches: [ main ]
9+
pull_request:
10+
branches: [ main ]
11+
12+
jobs:
13+
build-linux:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Set up JDK 11
19+
uses: actions/setup-java@v1
20+
with:
21+
java-version: 11
22+
- name: Run integration tests
23+
run: |
24+
export DISPLAY=:99.0
25+
Xvfb -ac :99 -screen 0 1920x1080x24 &
26+
cd src/test-project
27+
chmod +x gradlew
28+
./gradlew clean test --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.FlatWelcomeFrameTest
29+
- uses: actions/upload-artifact@v2
30+
with:
31+
name: ${{ runner.os }}-test-reports
32+
path: src/test-project/build/reports/tests/test
33+
if: always()
34+
- name: Archiving screenshots
35+
uses: actions/upload-artifact@v2
36+
with:
37+
name: ${{ runner.os }}-screenshots
38+
path: src/test-project/build/screenshots/*
39+
if: always()
40+
- name: Archiving StepLogger logs
41+
uses: actions/upload-artifact@v2
42+
with:
43+
name: ${{ runner.os }}-steplogger-logs
44+
path: src/test-project/build/test-results/*
45+
if: always()
46+
47+
48+
build-macos:
49+
runs-on: macos-11
50+
51+
steps:
52+
- uses: actions/checkout@v2
53+
- name: Set up JDK 11
54+
uses: actions/setup-java@v1
55+
with:
56+
java-version: 11
57+
- name: Run integration tests
58+
run: |
59+
cd src/test-project
60+
chmod +x gradlew
61+
./gradlew clean test --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.FlatWelcomeFrameTest
62+
- uses: actions/upload-artifact@v2
63+
with:
64+
name: ${{ runner.os }}-test-reports
65+
path: src/test-project/build/reports/tests/test
66+
if: always()
67+
- name: Archiving screenshots
68+
uses: actions/upload-artifact@v2
69+
with:
70+
name: ${{ runner.os }}-screenshots
71+
path: src/test-project/build/screenshots/*
72+
if: always()
73+
- name: Archiving StepLogger logs
74+
uses: actions/upload-artifact@v2
75+
with:
76+
name: ${{ runner.os }}-steplogger-logs
77+
path: src/test-project/build/test-results/*
78+
if: always()
79+
80+
81+
build-windows:
82+
runs-on: windows-latest
83+
84+
steps:
85+
- uses: actions/checkout@v2
86+
- name: Set up JDK 11
87+
uses: actions/setup-java@v1
88+
with:
89+
java-version: 11
90+
- name: Run integration tests
91+
run: |
92+
cd src\test-project
93+
chmod +x gradlew.bat
94+
.\gradlew.bat clean test --warning-mode none --tests com.redhat.devtools.intellij.commonuitest.fixtures.test.dialogs.FlatWelcomeFrameTest
95+
shell: powershell
96+
- uses: actions/upload-artifact@v2
97+
with:
98+
name: ${{ runner.os }}-test-reports
99+
path: src\test-project\build\reports\tests\test
100+
if: always()
101+
- name: Archiving screenshots
102+
uses: actions/upload-artifact@v2
103+
with:
104+
name: ${{ runner.os }}-screenshots
105+
path: src\test-project\build\screenshots\*
106+
if: always()
107+
- name: Archiving StepLogger logs
108+
uses: actions/upload-artifact@v2
109+
with:
110+
name: ${{ runner.os }}-steplogger-logs
111+
path: src\test-project\build\test-results\*
112+
if: always()

0 commit comments

Comments
 (0)