File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,18 @@ jobs:
4848 if : " ${{ !(matrix.arch == 'x64' && matrix.os == 'ubuntu-latest' && matrix.java == '11') }}"
4949 run : mvn verify -B -"Dgpg.skip"
5050
51+ # doesn't work with PRs from forks, see https://jira.sonarsource.com/browse/MMF-1371
5152 - name : Build with Maven and run Sonar
5253 if : " ${{ matrix.arch == 'x64' && matrix.os == 'ubuntu-latest' && matrix.java == '11' }}"
5354 env :
5455 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5556 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
5657 run : mvn -X -B -"Dgpg.skip" verify jacoco:report org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
5758
59+ - name : Run codecovc
60+ if : " ${{ matrix.arch == 'x64' && matrix.os == 'ubuntu-latest' && matrix.java == '11' }}"
61+ uses : codecov/codecov-action@v1
62+
5863 release :
5964 if : github.ref == 'refs/heads/master'
6065 needs : test
You can’t perform that action at this time.
0 commit comments