diff --git a/action.yml b/action.yml index 1c851f8..f88edb6 100644 --- a/action.yml +++ b/action.yml @@ -132,9 +132,11 @@ runs: cat ${{ inputs.report-dir }}/markdown/coverage-error.log } + git clone -q https://gitea.psi.ch/tligui_y/test-ci.git ./temp-test-ci + echo "" echo "๐Ÿ“Š Generating tests markdown summary..." - python ./test-ci/json_to_md.py \ + python ./temp-test-ci/json_to_md.py \ --input "${{ inputs.report-dir }}/markdown/pytest-report.json" \ --output "${{ inputs.report-dir }}/markdown/TEST-REPORT.md" \ --log "${{ inputs.report-dir }}/markdown/raw-test-output.log" \ @@ -149,7 +151,7 @@ runs: echo "" echo "๐ŸŒณ Generating JSON tree view..." - python ./test-ci/json_to_tree.py \ + python ./temp-test-ci/json_to_tree.py \ "${{ inputs.report-dir }}/markdown/pytest-report.json" \ > "${{ inputs.report-dir }}/markdown/json-tree-gen.log" 2>&1 && { echo "โœ… JSON tree view generated" @@ -158,6 +160,8 @@ runs: cat ${{ inputs.report-dir }}/markdown/json-tree-gen.log } + rm -rf ./temp-test-ci + echo "๐Ÿงน Cleaning up ${{ inputs.report-dir }}/markdown..." find ${{ inputs.report-dir }}/markdown -type f ! \( \ -name 'coverage-summary.md' -o \