Skip to content
Closed
Changes from all commits
Commits
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: 7 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,15 @@ jobs:
- name: Code Coverage
env:
GH_PACKAGES_PAT: ${{ secrets.GH_PACKAGES_PAT }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_N3 }}
run: ./mvnw $MAVEN_CLI_OPTS verify -Dsonar.projectKey=National-Node-Net_federator -Dsonar.organization=national-node-net -Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacoco/jacoco.xml org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
run: ./mvnw $MAVEN_CLI_OPTS verify
- name: Verify JaCoCo XML exists
run: ls -l target/site/jacoco/jacoco.xml
Comment on lines 57 to 62
- name: SonarQube Scan
if: github.actor != 'dependabot[bot]'
env:
GH_PACKAGES_PAT: ${{ secrets.GH_PACKAGES_PAT }}
Comment on lines +63 to +66
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_N3 }}
run: ./mvnw $MAVEN_CLI_OPTS org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=National-Node-Net_federator -Dsonar.organization=national-node-net -Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacoco/jacoco.xml
lint:
permissions:
contents: read
Expand Down
Loading