Skip to content

Commit

Permalink
Run sonar on all branches (#6)
Browse files Browse the repository at this point in the history
Signed-off-by: Damien Jeandemange <[email protected]>
  • Loading branch information
jeandemanged authored Jul 12, 2024
1 parent 5f5e1ec commit 429981b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ jobs:
shell: cmd

- name: Run SonarCloud analysis
# FIXME remove main condition after first run on main
if: ${{ (matrix.os == 'ubuntu-latest') && (github.ref == 'refs/heads/main') }}
if: matrix.os == 'ubuntu-latest'
run: >
./mvnw --batch-mode -DskipTests sonar:sonar
-Dsonar.host.url=https://sonarcloud.io
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PowSyBl Open Short-Circuit Calculation
# PowSyBl Open Short-Circuit

[![Actions Status](https://github.com/powsybl/powsybl-open-sc/workflows/CI/badge.svg)](https://github.com/powsybl/powsybl-open-sc/actions)
[![Coverage Status](https://sonarcloud.io/api/project_badges/measure?project=com.powsybl%3Apowsybl-open-sc&metric=coverage)](https://sonarcloud.io/component_measures?id=com.powsybl%3Apowsybl-open-sc&metric=coverage)
Expand Down

0 comments on commit 429981b

Please sign in to comment.