Skip to content

Commit b0e6106

Browse files
committed
Update report
1 parent bbf94c8 commit b0e6106

2 files changed

Lines changed: 25 additions & 9 deletions

File tree

.github/workflows/report.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,45 +11,53 @@ jobs:
1111
contents: read
1212
env:
1313
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14-
1514
steps:
16-
- name: SCM Checkout
15+
- name: Check out Repository
16+
id: check-out-repositor
1717
uses: actions/checkout@v6
1818
with:
1919
fetch-depth: 0
2020

21-
- name: Setup Python & Poetry Environment
22-
uses: ./.github/actions/python-environment
21+
- name: Set up Python & Poetry Environment
22+
id: set-up-python-and-poetry-environment
23+
uses: exasol/python-toolbox/.github/actions/python-environment@v5
2324
with:
2425
python-version: "3.10"
2526
poetry-version: "2.3.0"
2627

2728
- name: Download Artifacts
29+
id: download-artifacts
2830
uses: actions/download-artifact@v7
2931
with:
3032
path: ./artifacts
3133

3234
- name: Copy Artifacts into Root Folder
35+
id: copy-artifacts-into-root-folder
3336
run: poetry run -- nox -s artifacts:copy -- artifacts
3437

3538
- name: Validate Artifacts
39+
id: validate-artifacts
3640
run: poetry run -- nox -s artifacts:validate
3741

38-
- name: Upload to sonar
42+
- name: Upload to Sonar
43+
id: upload-to-sonar
3944
env:
4045
SONAR_TOKEN: "${{ secrets.SONAR_TOKEN }}"
4146
run: poetry run -- nox -s sonar:check
4247

4348
- name: Generate Report
49+
id: generate-report
4450
run: poetry run -- nox -s project:report -- --format json | tee metrics.json
4551

4652
- name: Upload Artifacts
53+
id: upload-artifacts
4754
uses: actions/upload-artifact@v6
4855
with:
4956
name: metrics.json
5057
path: metrics.json
5158

5259
- name: Generate GitHub Summary
60+
id: generate-github-summary
5361
run: |-
5462
echo -e "# Summary\n" >> $GITHUB_STEP_SUMMARY
5563
poetry run -- nox -s project:report -- --format markdown >> $GITHUB_STEP_SUMMARY

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

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,45 +11,53 @@ jobs:
1111
contents: read
1212
env:
1313
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14-
1514
steps:
16-
- name: SCM Checkout
15+
- name: Check out Repository
16+
id: check-out-repositor
1717
uses: actions/checkout@v6
1818
with:
1919
fetch-depth: 0
2020

21-
- name: Setup Python & Poetry Environment
21+
- name: Set up Python & Poetry Environment
22+
id: set-up-python-and-poetry-environment
2223
uses: exasol/python-toolbox/.github/actions/python-environment@v5
2324
with:
2425
python-version: "(( minimum_python_version ))"
2526
poetry-version: "(( dependency_manager_version ))"
2627

2728
- name: Download Artifacts
29+
id: download-artifacts
2830
uses: actions/download-artifact@v7
2931
with:
3032
path: ./artifacts
3133

3234
- name: Copy Artifacts into Root Folder
35+
id: copy-artifacts-into-root-folder
3336
run: poetry run -- nox -s artifacts:copy -- artifacts
3437

3538
- name: Validate Artifacts
39+
id: validate-artifacts
3640
run: poetry run -- nox -s artifacts:validate
3741

38-
- name: Upload to sonar
42+
- name: Upload to Sonar
43+
id: upload-to-sonar
3944
env:
4045
SONAR_TOKEN: "${{ secrets.SONAR_TOKEN }}"
4146
run: poetry run -- nox -s sonar:check
4247

4348
- name: Generate Report
49+
id: generate-report
4450
run: poetry run -- nox -s project:report -- --format json | tee metrics.json
4551

4652
- name: Upload Artifacts
53+
id: upload-artifacts
4754
uses: actions/upload-artifact@v6
4855
with:
4956
name: metrics.json
5057
path: metrics.json
5158

5259
- name: Generate GitHub Summary
60+
id: generate-github-summary
5361
run: |
5462
echo -e "# Summary\n" >> $GITHUB_STEP_SUMMARY
5563
poetry run -- nox -s project:report -- --format markdown >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)