File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 2929 run : ./gradlew buildPlugin
3030 working-directory : third_party
3131
32- # Job 2: Verify Plugin
32+ # Job 2: Unit Tests
33+ unit-tests :
34+ runs-on : ubuntu-latest
35+ steps :
36+ - name : Checkout code
37+ uses : actions/checkout@v4 # Use the latest stable version of actions/checkout
38+
39+ - name : Set up JDK
40+ uses : actions/setup-java@v4 # https://github.com/marketplace/actions/setup-java-jdk
41+ with :
42+ distribution : ' temurin' # Recommended distribution
43+ java-version : ' 21' # Match version in build.gradle.kts
44+ cache : ' gradle' # Cache Gradle dependencies
45+
46+ - name : Unit Test Action
47+ run : ./gradlew :test --tests "com.jetbrains.lang.dart.*"
48+ working-directory : third_party
49+
50+ # Job 3: Verify Plugin
3351 verify-plugin :
3452 runs-on : ubuntu-latest
3553 steps :
You can’t perform that action at this time.
0 commit comments