-
-
Notifications
You must be signed in to change notification settings - Fork 29
44 lines (39 loc) · 1.22 KB
/
check-compatibility.yml
File metadata and controls
44 lines (39 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Test Plugin Compatibility
on:
workflow_call:
inputs:
products_releases:
description: 'JSON list of releases to test'
required: true
type: string
jobs:
check-compatibility:
name: Test Plugin Compatibility (${{ matrix.idea-release }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
idea-release: ${{ fromJSON(inputs.products_releases) }}
steps:
# Setup environment
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up build tools
uses: ./.github/actions/setup-tools
# Setup caches for Plugin Verifier
- name: Set up cache for IntelliJ Plugin Verifier
uses: actions/cache@v5
with:
path: ~/.cache/pluginVerifier/ides
key: pluginVerifier-${{ matrix.idea-release }}-${{ runner.os }}
# Run checks
- name: Check plugin compatibility
run: ./gradlew --stacktrace -PverifierIdeVersionOverride="${{ matrix.idea-release }}" verifyPlugin
# Upload artifacts
- name: Upload build reports
if: always()
uses: actions/upload-artifact@v7
with:
name: reports-${{ matrix.idea-release }}
path: build/reports/
if-no-files-found: ignore