Improve snakeline path in multi-substation SLD #3429
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| - 'release-v**' | |
| - 'full-sonar-analysis-**' | |
| tags: | |
| - 'v[0-9]+.[0-9]+.[0-9]+*' | |
| pull_request: | |
| permissions: {} | |
| jobs: | |
| build: | |
| name: Build OS ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| if: github.event.pull_request.head.repo.fork == false | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| cache: 'maven' | |
| - name: Build with Maven (Ubuntu) | |
| if: matrix.os == 'ubuntu-latest' | |
| run: ./mvnw -B -ntp -Pjacoco install | |
| - name: Build with Maven (Windows) | |
| if: matrix.os == 'windows-latest' | |
| run: mvnw.cmd -B -ntp verify -Dpowsybl.checks.skip=true | |
| shell: cmd | |
| - name: Build with Maven (MacOS) | |
| if: matrix.os == 'macos-latest' | |
| run: ./mvnw -B -ntp verify -Dpowsybl.checks.skip=true | |
| - name: Run SonarCloud analysis | |
| if: matrix.os == 'ubuntu-latest' | |
| run: > | |
| ./mvnw -B -ntp -DskipTests sonar:sonar | |
| -Dsonar.host.url=https://sonarcloud.io | |
| -Dsonar.organization=powsybl-ci-github | |
| -Dsonar.projectKey=com.powsybl:powsybl-diagram | |
| env: | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |