Skip to content

Commit

Permalink
Merge pull request #17 from JanssenProject/repo_sync
Browse files Browse the repository at this point in the history
ci(workflows): synchronize workflows from JanssenProject/jans-cloud-native
  • Loading branch information
ossdhaval authored Oct 8, 2021
2 parents 5b31541 + 6ed3972 commit fbf0ec3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/central_code_quality_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ name: Code quality check
on:
push:
branches:
- '**'
- master
- main
pull_request:
branches:
- master
- main
workflow_dispatch:
jobs:
build:
Expand Down Expand Up @@ -78,11 +80,11 @@ jobs:
;&
"JanssenProject/jans-config-api")
echo "Run Sonar analysis without test execution"
mvn -B -DskipTests=true verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
mvn -B -DskipTests=true install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
;;
*)
echo "Run Sonar analysis with test execution"
mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
mvn -B install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
;;
esac
Expand Down

0 comments on commit fbf0ec3

Please sign in to comment.