Skip to content

Commit

Permalink
Snapshot CI
Browse files Browse the repository at this point in the history
Signed-off-by: Leclerc Clement <clement.leclerc@rte-france.com>
  • Loading branch information
clementleclercRTE committed Sep 24, 2024
1 parent 601d309 commit 651580e
Showing 1 changed file with 27 additions and 5 deletions.
32 changes: 27 additions & 5 deletions .github/workflows/dependencies-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,21 @@ jobs:
- name: Build with Maven
run: mvn --batch-mode clean install -DskipTests
- name : Get core version
run : echo "CORE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV


run : |
echo "CORE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV*
cat pom.xml || true
#BUILD LOADFLOW
- name: Checkout loadflow-sources
uses: actions/checkout@v4
with:
repository: powsybl/powsybl-open-loadflow
ref: main
- name: Change core version
run : mvn versions:set-property -Dproperty=powsybl-core.version -DnewVersion=$CORE_VERSION -DgenerateBackupPoms=false
- name: Build with Maven
run: |
cat pom.xml || true
mvn --batch-mode clean install -DskipTests
- name: Get loadflow version
run : echo "LOADFLOW_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
Expand All @@ -80,8 +83,11 @@ jobs:
with:
repository: powsybl/powsybl-diagram
ref: main
- name: Change core version
run : mvn versions:set-property -Dproperty=powsybl-core.version -DnewVersion=$CORE_VERSION -DgenerateBackupPoms=false
- name: Build with Maven
run: |
run: |
cat pom.xml || true
mvn --batch-mode clean install -DskipTests
- name: Get diagram version
run : echo "DIAGRAM_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
Expand All @@ -92,8 +98,13 @@ jobs:
with:
repository: powsybl/powsybl-entsoe
ref: main
- name: Change core version
run : mvn versions:set-property -Dproperty=powsybl-core.version -DnewVersion=$CORE_VERSION -DgenerateBackupPoms=false
- name: Change open-loadflow version
run : mvn versions:set-property -Dproperty=powsyblopenloadflow.version -DnewVersion=$CORE_VERSION -DgenerateBackupPoms=false
- name: Build with Maven
run: |
run: |
cat pom.xml || true
mvn clean --batch-mode clean install -DskipTests
- name: Get entsoe version
run : echo "ENTSOE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
Expand All @@ -104,8 +115,11 @@ jobs:
with:
repository: powsybl/powsybl-dynawo
ref: main
- name: Change core version
run : mvn versions:set-property -Dproperty=powsybl-core.version -DnewVersion=$CORE_VERSION -DgenerateBackupPoms=false
- name: Build with Maven
run: |
cat pom.xml || true
mvn --batch-mode clean install -DskipTests
- name: Get dynawo version
run : echo "DYNAWO_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
Expand Down Expand Up @@ -138,6 +152,12 @@ jobs:
with:
submodules: true

- name: Change java-pom.xml
working-directory: ./java
run : |
mvn versions:set-property -Dproperty=powsybl-dependencies.version -DnewVersion=$DEPENDENCIES_VERSION -DgenerateBackupPoms=false
cat pom.xml || true
- name: Install dependencies
run: pip3 install -r requirements.txt

Expand All @@ -157,3 +177,5 @@ jobs:
run: pytest




0 comments on commit 651580e

Please sign in to comment.