Skip to content

Commit 7118cca

Browse files
authored
Update maven-ci.yml
Removed if clause for building code in main codebase from the CI pipeline.
1 parent 8983f9c commit 7118cca

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/maven-ci.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,10 @@ jobs:
4949
${{ runner.os }}-maven-
5050
# Some tests need screen access
5151
- name: Install xvfb
52-
run: sudo apt-get install xvfb
52+
run: sudo apt-get install -y xvfb
5353
# SonarQube scan does not work for forked repositories
5454
# See https://jira.sonarsource.com/browse/MMF-1371
55-
- name: Build with Maven
56-
if: github.ref != 'refs/heads/master'
57-
run: xvfb-run mvn clean verify
5855
- name: Build with Maven and run SonarQube analysis
59-
if: github.ref == 'refs/heads/master'
6056
run: xvfb-run mvn clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
6157
env:
6258
# These two env variables are needed for sonar analysis

0 commit comments

Comments
 (0)