File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 37
37
- name : pylint analysis and custom pylint HTML report
38
38
run : |
39
39
# Create a timestamp for the output file
40
- TIMESTAMP=$(date "%Y%m%d_%H%M%S_%Z")
40
+ TIMESTAMP=$(date + "%Y%m%d_%H%M%S_%Z")
41
41
PYLINT_OUTPUT_FILE="pylint_output_${TIMESTAMP}.txt"
42
42
43
43
# Generate text report
@@ -101,7 +101,7 @@ jobs:
101
101
- name : pytest coverage and custom coverage HTML report
102
102
run : |
103
103
# Create a timestamp for the output file
104
- TIMESTAMP=$(date "%Y%m%d_%H%M%S_%Z")
104
+ TIMESTAMP=$(date + "%Y%m%d_%H%M%S_%Z")
105
105
106
106
pytest -v --cov=rattlesnake --cov-report=html --cov-report=xml --cov-report=term-missing
107
107
@@ -172,7 +172,7 @@ jobs:
172
172
curl -o badges/pylint.svg "https://img.shields.io/badge/pylint-${SCORE}-${{ env.BADGE_COLOR }}.svg"
173
173
cat > badges/pylint-info.json << EOF
174
174
{
175
- "score": "$SCORE",
175
+ "score": "${ SCORE} ",
176
176
"color": "${{ env.BADGE_COLOR }}",
177
177
"pages_url": "https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/reports/pylint/",
178
178
"workflow_url": "${{ github.server_url }}/${{ github.repository }}/actions/workflows/ci.yml",
@@ -285,4 +285,4 @@ jobs:
285
285
286
286
- name : Run tests
287
287
run : |
288
- pytest
288
+ pytest -v
You can’t perform that action at this time.
0 commit comments