Skip to content

Commit

Permalink
Test_centos7_release_105
Browse files Browse the repository at this point in the history
Signed-off-by: arnaud <[email protected]>
  • Loading branch information
ARnDOSrte committed Oct 20, 2023
1 parent 7f4c663 commit 9a7c895
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 16 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci_centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: CI-cpp-centos7

on:
workflow_dispatch: {}
push: {}
pull_request:
push:
release:

defaults:
run:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: CI-cpp-ubuntu

on:
workflow_dispatch: {}
push: {}
pull_request:
push:
release:

defaults:
run:
Expand Down
34 changes: 20 additions & 14 deletions .github/workflows/maven_ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: CI_ubuntu
name: CI-UBUNTU

on: [release]
on:
push:
branches:
- 'main'
- 'release-v**'
- 'full-sonar-analysis-**'
pull_request:

jobs:
build:
Expand All @@ -11,25 +17,25 @@ jobs:
os: [ubuntu-latest]

steps:
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17

- name: Checkout sources
uses: actions/checkout@v1

- name: Build with Maven
run: mvn --batch-mode package

# - name: Run SonarCloud analysis
# if: matrix.os == 'ubuntu-latest'
# run: >
# mvn --batch-mode -Pjacoco verify sonar:sonar
# -Dsonar.host.url=https://sonarcloud.io
# -Dsonar.organization=powsybl-ci-github
# -Dsonar.projectKey=com.powsybl:powsybl-metrix
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Run SonarCloud analysis
if: matrix.os == 'ubuntu-latest'
run: >
mvn --batch-mode -Pjacoco verify sonar:sonar
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.organization=powsybl-ci-github
-Dsonar.projectKey=com.powsybl:powsybl-metrix
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit 9a7c895

Please sign in to comment.