Update action.yml
This commit is contained in:
+4
-2
@@ -106,7 +106,10 @@ runs:
|
||||
--cov-report=html:${{ inputs.report-dir }}/coverage/ \
|
||||
--json-report \
|
||||
--json-report-file=${{ inputs.report-dir }}/markdown/pytest-report.json \
|
||||
--capture=no > ${{ inputs.report-dir }}/markdown/raw-test-output.log 2>&1
|
||||
--capture=no > ${{ inputs.report-dir }}/markdown/full-output.log 2>&1
|
||||
|
||||
awk '/=+ test session starts =+/{flag=1} /-+ JSON report -+/{flag=0} flag' ${{ inputs.report-dir }}/markdown/full-output.log > ${{ inputs.report-dir }}/markdown/raw-test-output.log
|
||||
awk '/=+ short test summary info =+/,/=+.* in .*s =+/' ${{ inputs.report-dir }}/markdown/full-output.log > ${{ inputs.report-dir }}/markdown/raw-test-output.log
|
||||
|
||||
exit_code=$?
|
||||
|
||||
@@ -168,7 +171,6 @@ runs:
|
||||
! -name 'pytest-report.json' \
|
||||
! -name 'runtime_params.json' \
|
||||
! -name 'TEST-REPORT.md' \
|
||||
! -name 'raw-test-output.log' \
|
||||
-delete
|
||||
|
||||
echo "DEBUG: Liste des fichiers dans ${{ inputs.report-dir }}/markdown/"
|
||||
|
||||
Reference in New Issue
Block a user