mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2026-05-04 02:03:07 +02:00
Allows Gradle caching to be effective. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
38 lines
886 B
YAML
38 lines
886 B
YAML
name: PR Verification
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up JDK 21
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
java-version: '21'
|
|
distribution: 'corretto'
|
|
|
|
- name: Setup Gradle
|
|
uses: gradle/actions/setup-gradle@v4
|
|
|
|
- name: Run tests
|
|
run: ./gradlew test -x :tests:property-tests:test -x :tests:long-running-tests:test
|
|
env:
|
|
ORG_GRADLE_PROJECT_downloadIdeaSources: false
|
|
ORG_GRADLE_PROJECT_instrumentPluginCode: false
|
|
|
|
- name: Upload problems report
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: problems-report
|
|
path: |
|
|
build/reports/
|
|
tests/java-tests/build/reports/
|
|
if-no-files-found: ignore
|