Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3f4d2f6

Browse files
committed
Adding Codecov.
Trying to fix Sonar DB level analysis.
1 parent f216a28 commit 3f4d2f6

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,15 @@ jobs:
129129
id: validate-reports-format
130130
run: bash .github/scripts/validate_report_files.sh
131131

132+
- name: Codecov
133+
uses: codecov/codecov-action@v2
134+
with:
135+
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
136+
files: ./cobertura.xml
137+
flags: ${{matrix.db_version_name}}
138+
fail_ci_if_error: true # optional (default = false)
139+
verbose: true # optional (default = false)
140+
132141
- name: SonarCloud Scan
133142
id: sonar
134143
uses: SonarSource/sonarcloud-github-action@master
@@ -138,7 +147,7 @@ jobs:
138147
with:
139148
args: >
140149
-Dsonar.buildString=${{ format( '{0}.{1}', env.UTPLSQL_BUILD_VERSION, matrix.id ) }}
141-
-Dsonar.plsql.jdbc.url=${{ format( 'jdbc:oracle:thin:@{0}', env.CONNECTION_STR ) }}
150+
-Dsonar.plsql.jdbc.url=${{ format( 'jdbc:oracle:thin:@//{0}', env.CONNECTION_STR ) }}
142151
-Dsonar.plsql.jdbc.driver.path=${{ format( '{0}/ojdbc8.jar', env.OJDBC_HOME ) }}
143152
144153
publish:

0 commit comments

Comments
 (0)