Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AAE-22940 Sonar coverage enabled #1648

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
eafa331
AAE-22940 Sonar coverage enabled
wojciech-piotrowiak Dec 17, 2024
b2459bd
AAE-22940 Pinned actions
wojciech-piotrowiak Dec 17, 2024
b073ec8
Merge branch 'develop' into improvement/AAE-22940-sonar-coverage-enabled
wojciech-piotrowiak Dec 17, 2024
f8e4be5
AAE-22940 xml report type and organization + project set
wojciech-piotrowiak Dec 17, 2024
0bdff3f
AAE-22940 typo
wojciech-piotrowiak Dec 17, 2024
55eadf6
AAE-22940 bash way
wojciech-piotrowiak Dec 17, 2024
b665353
AAE-22940 projectKey fix + xmlReportPaths
wojciech-piotrowiak Dec 17, 2024
a377f5b
AAE-22940 debug
wojciech-piotrowiak Dec 18, 2024
ef77f00
AAE-22940 properties
wojciech-piotrowiak Dec 18, 2024
f08078a
Merge branch 'develop' into improvement/AAE-22940-sonar-coverage-enabled
wojciech-piotrowiak Dec 20, 2024
3146a1c
AAE-22940 sonar action used
wojciech-piotrowiak Dec 20, 2024
495cbba
AAE-22940 property file removal
wojciech-piotrowiak Dec 21, 2024
58de1eb
Merge branch 'develop' into improvement/AAE-22940-sonar-coverage-enabled
wojciech-piotrowiak Jan 7, 2025
8482338
Merge branch 'develop' into improvement/AAE-22940-sonar-coverage-enabled
wojciech-piotrowiak Jan 9, 2025
479bac3
Merge branch 'develop' into improvement/AAE-22940-sonar-coverage-enabled
wojciech-piotrowiak Jan 14, 2025
0a7656b
AAE-22940 Sonar in main build
wojciech-piotrowiak Jan 15, 2025
dbf6f5c
AAE-22940 plugin removed
wojciech-piotrowiak Jan 15, 2025
f08923d
Merge branch 'develop' into improvement/AAE-22940-sonar-coverage-enabled
wojciech-piotrowiak Jan 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,20 @@ jobs:
echo "testcontainers.reuse.enable=true" > ~/.testcontainers.properties
echo "TESTCONTAINERS_RYUK_DISABLED=true" >> $GITHUB_ENV

- name: Set SONAR_SCANNER_OPTS
shell: bash
run: |
echo "JACOCO_REPORT_PATH=${{ github.workspace }}/activiti-cloud-coverage/target/site/jacoco-aggregate/jacoco.xml" >> $GITHUB_ENV
echo "SONAR_SCANNER_OPTS=sonar:sonar -Dsonar.host.url='https://sonarcloud.io' -Dsonar.organization='activiti' -Dsonar.projectKey='Activiti_activiti-cloud' -Dsonar.coverage.jacoco.xmlReportPaths=${{ env.JACOCO_REPORT_PATH }}" >> $GITHUB_ENV

- name: Maven Build and Test
shell: bash
run: mvn -DskipAcceptanceTests=true -DunitTests.parallel=true -T 1C install ${{ env.MAVEN_CLI_OPTS}}
run: mvn -DskipAcceptanceTests=true -DunitTests.parallel=true -T 1C install ${{ env.MAVEN_CLI_OPTS}} ${{ env.SONAR_SCANNER_OPTS }}
env:
MAVEN_CLI_OPTS: --show-version --no-transfer-progress --settings settings.xml
MAVEN_USERNAME: ${{ secrets.NEXUS_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Remove running docker containers
run: docker rm -f $(docker ps -a -q)
Expand Down
Loading
Loading