Skip to content

Commit 1703fff

Browse files
committed
ci: include testing in build workflow
1 parent be7ade9 commit 1703fff

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,14 @@ jobs:
3838
java-version: 21
3939
- name: Setup Gradle
4040
uses: gradle/actions/setup-gradle@v5
41-
- name: Build plugin
42-
run: ./gradlew buildPlugin
41+
- name: Build and test plugin
42+
run: ./gradlew check buildPlugin
43+
- name: Collect test results
44+
if: ${{ failure() }}
45+
uses: actions/upload-artifact@v6
46+
with:
47+
name: tests-result
48+
path: ${{ github.workspace }}/build/reports/tests
4349
- name: Prepare plugin artifact
4450
id: artifact
4551
shell: bash

0 commit comments

Comments
 (0)