Skip to content

Commit cb2df10

Browse files
[STYLE] Cleanup for release
* These changes are part of the review of PR #528 Changes in file .github/workflows/Tests.yml: * Cleanup Style step name Changes in file tests/check_coverage_helper: * Added minor changes for style and readability.
1 parent 48e34fb commit cb2df10

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/Tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ jobs:
820820
else
821821
exit 1
822822
fi
823-
- name: "Summarize Syle-Tests"
823+
- name: "Summarize Style-Tests"
824824
id: style_report
825825
if: ${{ always() }}
826826
shell: bash

tests/check_coverage_helper

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ umask 137
8383
export LC_CTYPE="${LC_CTYPE:-en_US.UTF-8}"
8484

8585
# Global variable to track initial directories
86+
readonly SCRIPT_FILE="tests/check_coverage_helper"
8687
readonly PRE_OLDPWD="${OLDPWD:-${PWD:-$(pwd)}}"
8788
readonly PRE_PWD="${PWD:-$(pwd)}"
8889

@@ -253,7 +254,7 @@ if [[ ("${EXIT_CODE}" -eq 0) ]] ; then
253254
# shellcheck disable=SC2086
254255
${PY_3_CMD} -m coverage report -m --include=multicast/* --data-file=${COVERAGE_DATA_FILE} 2>/dev/null || : ; # always continue
255256
# shellcheck disable=SC2086
256-
${PY_3_CMD} -m coverage xml -o test-reports/coverage_${TEST_CAT:-${TEST_GROUP}}.xml --include=multicast/* --data-file="${COVERAGE_DATA_FILE}" 2>/dev/null || : ; # always continue
257+
${PY_3_CMD} -m coverage xml -o test-reports/coverage_${COVERAGE_CONTEXT_STUB}.xml --include=multicast/* --data-file="${COVERAGE_DATA_FILE}" 2>/dev/null || : ; # always continue
257258
else
258259
# shellcheck disable=SC2086
259260
${PY_3_CMD} -m coverage combine --append ./coverage_* 2>/dev/null || : ; # always continue

0 commit comments

Comments
 (0)