Skip to content

Commit 12dca74

Browse files
committed
Rename to sonar:check
1 parent 95e97b8 commit 12dca74

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: poetry run -- nox -s project:report -- --format json | tee metrics.json
3737

3838
- name: Upload to sonar
39-
run: poetry run -- nox -s artifacts:sonar -- ${{ secrets.SONAR_TOKEN }}
39+
run: poetry run -- nox -s sonar:check -- ${{ secrets.SONAR_TOKEN }}
4040

4141
- name: Upload Artifacts
4242
uses: actions/[email protected]

doc/changes/unreleased.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Unreleased
22

33
## Summary
4-
This version of the PTB adds nox task `artifacts:sonar`, see #451. This allows us to
4+
This version of the PTB adds nox task `sonar:check`, see #451. This allows us to
55
use SonarQube Cloud to analyze, visualize, & track linting, security, & coverage. In
66
order to properly set it up, you'll need to do the following instruction for each **public** project.
77
At this time, PTB currently does not support setting up SonarQube for a **private** project.

exasol/toolbox/nox/_artifacts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def _upload_to_sonar(session: Session, sonar_token: str, config: Config) -> None
205205
session.run(*command) # type: ignore
206206

207207

208-
@nox.session(name="artifacts:sonar", python=False)
208+
@nox.session(name="sonar:check", python=False)
209209
def upload_artifacts_to_sonar(session: Session) -> None:
210210
"""Upload artifacts to sonar for analysis"""
211211
sonar_token = session.posargs[0]

exasol/toolbox/templates/github/workflows/report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: poetry run -- nox -s artifacts:validate
3434

3535
- name: Upload to sonar
36-
run: poetry run -- nox -s artifacts:sonar -- ${{ secrets.SONAR_TOKEN }}
36+
run: poetry run -- nox -s sonar:check -- ${{ secrets.SONAR_TOKEN }}
3737

3838
- name: Generate Report
3939
run: poetry run -- nox -s project:report -- --format json | tee metrics.json

0 commit comments

Comments
 (0)