@@ -43,36 +43,18 @@ jobs:
43
43
fail-fast : false
44
44
matrix :
45
45
os : [ macos-latest, ubuntu-latest, windows-latest ]
46
- ideDate : [ IC-2022.2, IC-2022.3, IC-2023.1, IC-2023.2 ]
47
- include :
48
- # - ideDate: IC-EAP # TODO: Run this variant weekly
49
- # ide: IC
50
- # version: LATEST_EAP
51
- - ideDate : IC-2023.2
52
- ide : IC
53
- version : 2023.2.3 # released on 11.10.2023, major from 26.07.2023
54
- - ideDate : IC-2023.1
55
- ide : IC
56
- version : 2023.1.5 # released on 25.07.2023, major from 28.03.2023
57
- - ideDate : IC-2022.3
58
- ide : IC
59
- version : 2022.3.3 # released on 8.03.2023, major from 30.11.2022
60
- - ideDate : IC-2022.2
61
- ide : IC
62
- version : 2022.2.5 # released on 15.03.2023, major from 26.07.2022
63
-
46
+ ideDate : # Up to 2 versions per year, initial major ver release date should be not older than a year
47
+ # - IC-LATEST_EAP # TODO: Run this variant weekly
48
+ - IC-2023.3.2 # released on 20.12.2023, major from 06.12.2023
49
+ - IC-2023.1.5 # released on 25.07.2023, major from 28.03.2023
50
+ - IC-2022.3.3 # released on 8.03.2023, major from 30.11.2022
51
+ # - PC-LATEST_EAP # TODO: Run this variant weekly
52
+ - PC-2023.3.2 # released on 20.12.2023, major from 06.12.2023
53
+ - PC-2023.1.4 # released on 13.07.2023, major from 30.03.2023
54
+ - PC-2022.3.3 # released on 10.03.2023, major from 01.12.2022
64
55
# Versions should match https://jb.gg/android-studio-releases-list.xml
65
- # TODO:
66
- # - ideDate: AI-2023
67
- # ide: AI
68
- # version: 2023.1.1 # released on 27.09.2023
69
- # - ideDate: AI-2022
70
- # ide: AI
71
- # version: 2022.3.1 # released on 28.09.2023
72
- # - ideDate: AI-2021
73
- # ide: AI
74
- # version: 2021.3.1.17 # released on 13.10.2022
75
56
57
+ include :
76
58
- os : ubuntu-latest
77
59
runTests : |
78
60
export DISPLAY=:99.0
@@ -89,11 +71,18 @@ jobs:
89
71
reportName : ui-tests-windows
90
72
91
73
env :
92
- IDE_CODE : ${{ matrix.ide }}
93
- IDE_VERSION : ${{ matrix.version }}
94
74
PLUGIN_PATH : " ${{ github.workspace }}/${{ needs.getPlugin.outputs.path }}"
95
75
steps :
96
-
76
+ - uses : actions/github-script@v7
77
+ id : prepare-IDE_CODE
78
+ with :
79
+ script : return "${{ matrix.ideDate }}".split("-", 2)[0]
80
+ result-encoding : string
81
+ - uses : actions/github-script@v7
82
+ id : prepare-IDE_VERSION
83
+ with :
84
+ script : return "${{ matrix.ideDate }}".split("-", 2)[1]
85
+ result-encoding : string
97
86
- name : Setup FFmpeg
98
87
uses : FedericoCarboni/setup-ffmpeg@v2
99
88
with :
@@ -104,13 +93,19 @@ jobs:
104
93
# Setup Java environment for the next steps
105
94
- name : Setup Java
106
95
uses : actions/setup-java@v3
96
+ env :
97
+ IDE_CODE : ${{ steps.prepare-IDE_CODE.outputs.result }}
98
+ IDE_VERSION : ${{ steps.prepare-IDE_VERSION.outputs.result }}
107
99
with :
108
100
distribution : zulu
109
101
java-version : 11
110
102
111
103
# Setup Gradle
112
104
- name : Setup Gradle
113
105
uses : gradle/gradle-build-action@v2
106
+ env :
107
+ IDE_CODE : ${{ steps.prepare-IDE_CODE.outputs.result }}
108
+ IDE_VERSION : ${{ steps.prepare-IDE_VERSION.outputs.result }}
114
109
with :
115
110
gradle-home-cache-cleanup : true
116
111
@@ -128,6 +123,9 @@ jobs:
128
123
129
124
# Run tests
130
125
- name : Tests
126
+ env :
127
+ IDE_CODE : ${{ steps.prepare-IDE_CODE.outputs.result }}
128
+ IDE_VERSION : ${{ steps.prepare-IDE_VERSION.outputs.result }}
131
129
run : ${{ matrix.runTests }}
132
130
133
131
# Collect Tests Result of failed tests
0 commit comments