Skip to content

Commit 518cef0

Browse files
committed
Add IDE plugin verifier workflwos
1 parent 8f079fe commit 518cef0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/module-tests.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,39 @@ jobs:
131131
name: gradle-plugin-test-results
132132
path: stability-gradle/build/reports/tests/
133133

134+
ide-plugin-verify:
135+
name: IDE Plugin Verify
136+
runs-on: ubuntu-latest
137+
steps:
138+
- name: Checkout code
139+
uses: actions/checkout@v4
140+
141+
- name: Set up JDK 21
142+
uses: actions/setup-java@v4
143+
with:
144+
distribution: 'zulu'
145+
java-version: 21
146+
cache: 'gradle'
147+
148+
- name: Grant execute permission for gradlew
149+
run: chmod +x gradlew
150+
151+
- name: Build stability-runtime (dependency)
152+
run: ./gradlew :stability-runtime:build --no-daemon --stacktrace
153+
154+
- name: Build IDE plugin
155+
run: ./gradlew :compose-stability-analyzer-idea:buildPlugin --no-daemon --stacktrace
156+
157+
- name: Verify plugin compatibility
158+
run: ./gradlew :compose-stability-analyzer-idea:verifyPlugin --no-daemon --stacktrace
159+
160+
- name: Upload verification results
161+
if: always()
162+
uses: actions/upload-artifact@v4
163+
with:
164+
name: plugin-verification-results
165+
path: compose-stability-analyzer-idea/build/reports/pluginVerifier/
166+
134167
lint-tests:
135168
name: Lint Module Tests
136169
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)