Skip to content

Test EMF using subnetworks (bump core to 6.0.0, open-loadflow to 1.3.0) #559

Test EMF using subnetworks (bump core to 6.0.0, open-loadflow to 1.3.0)

Test EMF using subnetworks (bump core to 6.0.0, open-loadflow to 1.3.0) #559

Workflow file for this run

name: CI
on:
push:
branches:
- 'main'
- 'release-v**'
- 'full-sonar-analysis-**'
pull_request:
jobs:
build:
name: Build OS ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout sources
uses: actions/checkout@v1
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Checkout powsybl-core latest sources
uses: actions/checkout@v1
with:
repository: powsybl/powsybl-core
ref: refs/heads/main
- name: Build and install powsybl-core with Maven
run: mvn --batch-mode -DskipTests=true --file ../powsybl-core/pom.xml install
- name: Checkout powsybl-open-loadflow latest sources
uses: actions/checkout@v1
with:
repository: powsybl/powsybl-open-loadflow
ref: refs/heads/main
- name: Build and install powsybl-open-loadflow with Maven
run: mvn --batch-mode -DskipTests=true --file ../powsybl-open-loadflow/pom.xml install
- name: Build with Maven
if: matrix.os == 'ubuntu-latest'
run: mvn --batch-mode -Pjacoco install
- name: Build with Maven
if: matrix.os != 'ubuntu-latest'
run: mvn --batch-mode install
- name: Run SonarCloud analysis
if: matrix.os == 'ubuntu-latest'
run: >
mvn --batch-mode -DskipTests sonar:sonar
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.organization=powsybl-ci-github
-Dsonar.projectKey=com.powsybl:powsybl-entsoe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}