Skip to content

Commit 4967a04

Browse files
committed
fix: fix for 2023.3 use case
Signed-off-by: Stephane Bouchet <[email protected]>
1 parent 19fac58 commit 4967a04

File tree

2 files changed

+65
-59
lines changed

2 files changed

+65
-59
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -179,62 +179,3 @@ jobs:
179179
name: macos-steplogger-logs
180180
path: src/test-project/build/test-results/*
181181
if: always()
182-
183-
validate_versions:
184-
runs-on: ubuntu-latest
185-
needs: run_on_linux
186-
strategy:
187-
matrix:
188-
IJ:
189-
- 2020.2
190-
- 2020.3
191-
- 2021.1
192-
- 2021.2
193-
- 2021.3
194-
- 2022.1
195-
- 2022.2
196-
- 2022.3
197-
- 2023.1
198-
- 2023.2
199-
- 2023.3
200-
- 2024.1
201-
- 2024.2
202-
- 2024.3
203-
204-
steps:
205-
- uses: actions/checkout@v4
206-
- name: Set up JDK 11 # Java 11 is only used for test NewProjectDialogTest/setProjectSdkIfAvailableTest
207-
uses: actions/setup-java@v4
208-
with:
209-
java-version: 11
210-
distribution: 'temurin'
211-
cache: 'gradle'
212-
- name: Set up JDK 17
213-
uses: actions/setup-java@v4
214-
with:
215-
java-version: 17
216-
distribution: 'temurin'
217-
cache: 'gradle'
218-
- name: Run integration tests
219-
run: |
220-
cd src/test-project
221-
xvfb-run --server-args="-screen 0 1920x1080x24" ./gradlew integrationUITest --warning-mode none -PcommunityIdeaVersion=${{ matrix.IJ }}
222-
- name: Archiving tests reports
223-
uses: actions/upload-artifact@v4
224-
with:
225-
name: linux-test-reports-${{ matrix.IJ }}
226-
path: src/test-project/build/reports/tests/*
227-
if: always()
228-
- name: Archiving screenshots
229-
uses: actions/upload-artifact@v4
230-
with:
231-
name: linux-screenshots-${{ matrix.IJ }}
232-
path: src/test-project/build/screenshots/*
233-
if-no-files-found: ignore
234-
if: always()
235-
- name: Archiving StepLogger logs
236-
uses: actions/upload-artifact@v4
237-
with:
238-
name: linux-steplogger-logs-${{ matrix.IJ }}
239-
path: src/test-project/build/test-results/*
240-
if: always()

.github/workflows/validate.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Sonar
2+
on:
3+
workflow_run:
4+
workflows: [Java CI with Gradle]
5+
types:
6+
- completed
7+
jobs:
8+
validate_versions:
9+
runs-on: ubuntu-latest
10+
11+
strategy:
12+
matrix:
13+
IJ:
14+
- 2020.2
15+
- 2020.3
16+
- 2021.1
17+
- 2021.2
18+
- 2021.3
19+
- 2022.1
20+
- 2022.2
21+
- 2022.3
22+
- 2023.1
23+
- 2023.2
24+
- 2023.3
25+
- 2024.1
26+
- 2024.2
27+
- 2024.3
28+
29+
steps:
30+
- uses: actions/checkout@v4
31+
- name: Set up JDK 11 # Java 11 is only used for test NewProjectDialogTest/setProjectSdkIfAvailableTest
32+
uses: actions/setup-java@v4
33+
with:
34+
java-version: 11
35+
distribution: 'temurin'
36+
cache: 'gradle'
37+
- name: Set up JDK 17
38+
uses: actions/setup-java@v4
39+
with:
40+
java-version: 17
41+
distribution: 'temurin'
42+
cache: 'gradle'
43+
- name: Run integration tests
44+
run: |
45+
cd src/test-project
46+
xvfb-run --server-args="-screen 0 1920x1080x24" ./gradlew integrationUITest --warning-mode none -PcommunityIdeaVersion=${{ matrix.IJ }}
47+
- name: Archiving tests reports
48+
uses: actions/upload-artifact@v4
49+
with:
50+
name: linux-test-reports-${{ matrix.IJ }}
51+
path: src/test-project/build/reports/tests/*
52+
if: always()
53+
- name: Archiving screenshots
54+
uses: actions/upload-artifact@v4
55+
with:
56+
name: linux-screenshots-${{ matrix.IJ }}
57+
path: src/test-project/build/screenshots/*
58+
if-no-files-found: ignore
59+
if: always()
60+
- name: Archiving StepLogger logs
61+
uses: actions/upload-artifact@v4
62+
with:
63+
name: linux-steplogger-logs-${{ matrix.IJ }}
64+
path: src/test-project/build/test-results/*
65+
if: always()

0 commit comments

Comments
 (0)