Skip to content

Commit b52b272

Browse files
[FIX] posible fix for #82
1 parent acf255f commit b52b272

File tree

3 files changed

+4
-16
lines changed

3 files changed

+4
-16
lines changed

.github/workflows/Tests.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,6 @@ jobs:
5858
lang-var: ["de.utf-8", "jp.utf-8"]
5959
experimental: [true]
6060
include:
61-
- python-version: 3.7
62-
lang-var: "en_US.utf-8"
63-
experimental: true
64-
- python-version: 3.8
65-
lang-var: "en_US.utf-8"
66-
experimental: true
67-
- python-version: 3.9
68-
lang-var: "de.utf-8"
69-
experimental: true
70-
- python-version: 3.9
71-
lang-var: "jp.utf-8"
72-
experimental: true
7361
- python-version: 3.9
7462
lang-var: "en_US.utf-8"
7563
experimental: false

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ test: just-test cc-test-reporter
222222
$(QUIET)$(DO_FAIL) ;
223223
$(QUIET)$(COVERAGE) combine 2>$(ERROR_LOG_PATH) || : ;
224224
$(QUIET)$(COVERAGE) report -m --include=* 2>$(ERROR_LOG_PATH) || : ;
225+
$(QUIET)./cc-test-reporter after-build --exit-code 0 -t coverage.py 2>/dev/null || : ;
225226
$(QUIET)$(ECHO) "$@: Done."
226227

227228
test-tox: cleanup
@@ -231,7 +232,7 @@ test-tox: cleanup
231232
test-pytest: cleanup MANIFEST.in cc-test-reporter must_have_pytest test-reports
232233
$(QUIET)$(PYTHON) -m pytest --cache-clear --doctest-glob=pythonrepo/*.py --doctest-modules --cov=. --cov-append --cov-report=xml --junitxml=test-reports/junit.xml -v --rootdir=. || DO_FAIL="exit 2" ;
233234
$(QUIET)./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml || : ;
234-
$(QUIET)./cc-test-reporter after-build --exit-code 0 -t coverage.py -r $(CC_TEST_REPORTER_ID) || : ;
235+
$(QUIET)./cc-test-reporter after-build --exit-code 0 -t coverage.py 2>/dev/null || : ;
235236
$(QUIET)$(WAIT) ;
236237
$(QUIET)$(DO_FAIL) ;
237238
$(QUIET)$(ECHO) "$@: Done."

tests/fetch_cc-test-reporter

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ if _TEST_ROOT_DIR=$(git rev-parse --show-superproject-working-tree 2>/dev/null);
158158
fi
159159
printf "::debug::%s\n" "Found ${_TEST_ROOT_DIR} ..." ;
160160
else
161-
printf "::error file=${SCRIPT_FILE},line=${BASH_LINENO:-0},title=${FUNCNAME:-$0}::%s\n" \
161+
printf "::error %s::%s\n" "file=${SCRIPT_FILE},line=${BASH_LINENO:-0},title=${FUNCNAME:-$0}" \
162162
"FAIL: missing valid repository or source structure" >&2 ;
163163
EXIT_CODE=40
164164
fi
@@ -227,7 +227,6 @@ elif [[ ( ${EXIT_CODE} -eq 0 ) ]] ; then
227227

228228
if [[ ( ${EXIT_CODE} -eq 0 ) ]] ; then
229229
chmod -v 751 ./ds-cli.sh || EXIT_CODE=77
230-
chmod +x ./ds-cli.sh || : ;
231230
fi ;
232231

233232
if [[ ( ${EXIT_CODE} -eq 0 ) ]] ; then
@@ -255,4 +254,4 @@ cleanup 2>/dev/null || rm -f "${LOCK_FILE}" 2>/dev/null > /dev/null || : ; wait
255254
exit ${EXIT_CODE:-255} ;
256255

257256
# This file's code hash:
258-
bd3a1cfef39983285334fad565c7a0643c208c3a7fb1a6aa4d19d44b537d21a5e2f8f13dbe3ed133e6f1435ed30c50ac -
257+
162c5fd711e080b71f4943c910cec820eda71160c4a3c4af1d981104d5d2546e3d71a8b75a8ef1061d654e928becf0e1 -

0 commit comments

Comments
 (0)