Skip to content

Commit 64db9ff

Browse files
committed
[NRL-1922] Set relative flag for coverage config. Rename workflow jobs
1 parent 1437ffc commit 64db9ff

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/pr-checks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
path: dist
3939

4040
sonar:
41-
name: SonarQube analysis and quality gate check
41+
name: SonarQube scan
4242
runs-on: ubuntu-latest
4343
needs: build
4444
environment: pull-request
@@ -56,12 +56,12 @@ jobs:
5656
name: build-artifacts
5757
path: dist
5858

59-
- name: SonarQube Scan
59+
- name: SonarQube scan
6060
uses: sonarsource/sonarqube-scan-action@a31c9398be7ace6bbfaf30c0bd5d415f843d45e9 #v7.0.0
6161
env:
6262
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
6363

64-
- name: SonarQube Quality Gate check
64+
- name: SonarQube quality gate check
6565
id: sonarqube-quality-gate-check
6666
uses: sonarsource/sonarqube-quality-gate-action@cf038b0e0cdecfa9e56c198bbb7d21d751d62c3b #v1.2.0
6767
with:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ docstring-code-format = true
8686
docstring-code-line-length = 80
8787

8888
[tool.coverage.run]
89+
relative_files = true
8990
branch = true
9091
omit = [
9192
"*/tests/*",

0 commit comments

Comments
 (0)