|
59 | 59 |
|
60 | 60 | - name: Create custom Pylint Report in HTML format (refined version)
|
61 | 61 | run: |
|
62 |
| - # Read the pylint output and create a custom HTML report, to be saved to |
63 |
| - # https://sandialabs.github.io/rattlesnake-vibration-controller/reports/pylint/ |
| 62 | + # Read the pylint output and create a custom HTML report. |
64 | 63 | python src/rattlesnake/cicd/report_pylint.py \
|
65 | 64 | --input_file ${{ env.PYLINT_OUTPUT_FILE }} \
|
66 | 65 | --output_file pylint_report.html \
|
|
70 | 69 | --github_sha ${{ github.sha }} \
|
71 | 70 | --github_repo ${{ github.repository }}
|
72 | 71 |
|
73 |
| - - name: Create GitHub Pages content |
| 72 | + - name: Create GitHub Pages Pylint content |
74 | 73 | if: github.ref == 'refs/heads/dev' # Only deploy on dev branch
|
75 | 74 | run: |
|
76 | 75 | # Create pages directory structure
|
|
79 | 78 | # Copy the pylint report as the main report
|
80 | 79 | cp pylint_report.html pages/reports/pylint/index.html
|
81 | 80 |
|
82 |
| - # Access at |
| 81 | + # Access the custom Pylint HTML report at |
83 | 82 | # https://sandialabs.github.io/rattlesnake-vibration-controller/reports/pylint/index.html
|
84 |
| -
|
| 83 | + # |
85 | 84 |
|
86 | 85 | - name: Create root index.html for GitHub Pages
|
87 | 86 | if: github.ref == 'refs/heads/dev'
|
@@ -116,6 +115,10 @@ jobs:
|
116 | 115 | </body>
|
117 | 116 | </html>
|
118 | 117 | EOF
|
| 118 | +
|
| 119 | + # Access the custom HTML report at |
| 120 | + # https://sandialabs.github.io/rattlesnake-vibration-controller/ |
| 121 | + # |
119 | 122 |
|
120 | 123 | - name: Create pylint badge with GitHub Pages link
|
121 | 124 | # if: github.ref == 'refs/heads/main' # Only create badge on main branch
|
|
0 commit comments