Skip to content

Commit 1d292cf

Browse files
meanmailclaude
andcommitted
CI: run tests and verification before building artifacts
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d0d1b8b commit 1d292cf

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ jobs:
4343
BASE_VERSION=$(grep '^pluginVersion=' gradle.properties | cut -d'=' -f2)
4444
echo "VERSION=${BASE_VERSION}.${{ github.run_number }}" >> $GITHUB_ENV
4545
46+
- name: Run tests
47+
run: ./gradlew test -PenvironmentName=${{ matrix.environmentName }} -PpluginVersion=${{ env.VERSION }}
48+
49+
- name: Verify plugin
50+
run: ./gradlew verifyPlugin -PenvironmentName=${{ matrix.environmentName }} -PpluginVersion=${{ env.VERSION }}
51+
4652
- name: Build plugin
4753
run: ./gradlew buildPlugin -PenvironmentName=${{ matrix.environmentName }} -PpluginVersion=${{ env.VERSION }}
4854

@@ -53,12 +59,6 @@ jobs:
5359
path: intellij-plugin/build/distributions
5460
retention-days: 3
5561

56-
- name: Run tests
57-
run: ./gradlew test -PenvironmentName=${{ matrix.environmentName }} -PpluginVersion=${{ env.VERSION }}
58-
59-
- name: Verify plugin
60-
run: ./gradlew verifyPlugin -PenvironmentName=${{ matrix.environmentName }} -PpluginVersion=${{ env.VERSION }}
61-
6262
- name: Publish plugin to Marketplace (dev channel)
6363
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
6464
run: ./gradlew publishPlugin -PenvironmentName=${{ matrix.environmentName }} -PpluginVersion=${{ env.VERSION }}

0 commit comments

Comments
 (0)