Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
boromir674 committed Oct 30, 2023
1 parent d47171e commit d656160
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions scripts/post-tests-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,9 @@ platform="linux"
python_version="3.8"

# get coverage data file path
# try to copy coverage data file to destination, else print error and tox coverage run log
mv ./.tox/coverage.xml "${destination_xml_file_path}"
# destination_xml_file_path="./coverage-${platform}-${python_version}.xml"

# try to copy coverage data file to destination, else print error and tox coverage run log
cp ./.tox/coverage.xml "${output_file}"
if [ $? -ne 0 ]; then
echo "[ERROR] Failed to copy coverage data file to destination: ${destination_xml_file_path}"
echo "[DEBUG] Dumping tox -e coverage run output:"
Expand All @@ -67,8 +65,7 @@ fi

# END - Rename Coverage Files (POC Version)

echo "${destination_xml_file_path}"

echo " --- COVERAGE XML: ${destination_xml_file_path} --- "

# Github Actions original code
# mv ./.tox/coverage.xml ./coverage-${{ matrix.platform }}-${{ matrix.python-version }}.xml

0 comments on commit d656160

Please sign in to comment.