Skip to content

Commit e00aa63

Browse files
SONARJAVA-6241 Do not test PRs against DEV SQ (#5556)
1 parent 4a37dfe commit e00aa63

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,12 @@ jobs:
116116
strategy:
117117
fail-fast: false
118118
matrix:
119-
item:
120-
- sq_version: LATEST_RELEASE
121-
java_version: 21
119+
sq_version: ['LATEST_RELEASE', 'DEV']
120+
is_nightly:
121+
- ${{ github.event_name == 'schedule' }}
122+
exclude:
122123
- sq_version: DEV
123-
java_version: 21
124+
is_nightly: false
124125
name: Plugin QA
125126
needs:
126127
- build
@@ -139,7 +140,7 @@ jobs:
139140
with:
140141
version: 2025.7.12
141142
- name: Select Java Version
142-
run: mise use java@${{ matrix.item.java_version}}
143+
run: mise use java@21
143144
- name: Configure Maven
144145
uses: SonarSource/ci-github-actions/config-maven@v1
145146
with:
@@ -155,13 +156,13 @@ jobs:
155156
- name: Orchestrator Cache
156157
uses: ./.github/actions/orchestrator-cache
157158
with:
158-
sq-version: ${{ matrix.item.sq_version }}
159+
sq-version: ${{ matrix.sq_version }}
159160
- name: Plugin QA
160161
env:
161162
GITHUB_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).GITHUB_TOKEN }}
162163
run: |
163164
cd its/plugin
164-
mvn package ${MAVEN_OUTPUT_ARGS} -Pit-plugin -Dsonar.runtimeVersion=${{ matrix.item.sq_version }} -Dmaven.test.redirectTestOutputToFile=false -Dparallel=classes -DuseUnlimitedThreads=true
165+
mvn package ${MAVEN_OUTPUT_ARGS} -Pit-plugin -Dsonar.runtimeVersion=${{ matrix.sq_version }} -Dmaven.test.redirectTestOutputToFile=false -Dparallel=classes -DuseUnlimitedThreads=true
165166
166167
sanity:
167168
name: Sanity Test

0 commit comments

Comments
 (0)