8000 Adding Codecov. · utPLSQL/utPLSQL@92e338e · GitHub
[go: up one dir, main page]

Skip to content

Commit 92e338e

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

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,14 @@ 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+
files: ./cobertura.xml
136+
flags: ${{matrix.db_version_name}}
137+
fail_ci_if_error: true # optional (default = false)
138+
verbose: true # optional (default = false)
139+
132140
- name: SonarCloud Scan
133141
id: sonar
134142
uses: SonarSource/sonarcloud-github-action@master
@@ -138,7 +146,7 @@ jobs:
138146
with:
139147
args: >
140148
-Dsonar.buildString=${{ format( '{0}.{1}', env.UTPLSQL_BUILD_VERSION, matrix.id ) }}
141-
-Dsonar.plsql.jdbc.url=${{ format( 'jdbc:oracle:thin:@{0}', env.CONNECTION_STR ) }}
149+
-Dsonar.plsql.jdbc.url=${{ format( 'jdbc:oracle:thin:@//{0}', env.CONNECTION_STR ) }}
142150
-Dsonar.plsql.jdbc.driver.path=${{ format( '{0}/ojdbc8.jar', env.OJDBC_HOME ) }}
143151
144152
publish:

0 commit comments

Comments
 (0)
0