We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6be517f commit ebaedaaCopy full SHA for ebaedaa
.github/workflows/checks.yml
@@ -20,7 +20,7 @@ jobs:
20
${{ runner.os }}-pip-
21
- run: pip install -r requirements.txt
22
- run: |
23
- (exit 0); PYLINT_REPORT=$(pylint --init-hook="import sys; sys.path.append('scripts/')" scripts/*)
+ PYLINT_REPORT=$(./run_pylint.sh)
24
echo "PYLINT_REPORT=$PYLINT_REPORT" >> $GITHUB_ENV
25
26
- uses: LouisBrunner/[email protected]
@@ -30,4 +30,4 @@ jobs:
30
name: Run Pylint
31
conclusion: ${{ job.status }}
32
output: |
33
- {"summary":"${{job.status}}" , "text_description": "$PYLINT_REPORT"}
+ {"summary":"${{job.status}}" , "text_description": "${{ env.PYLINT_REPORT }}"}
run_pylint.sh
@@ -0,0 +1,3 @@
1
+#!/bin/bash
2
+pylint --init-hook="import sys; sys.path.append('scripts/')" scripts/*
3
+exit 0
0 commit comments