From 571ded8680d09ab5a22b0a326f6b9944b843878f Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Wed, 9 Aug 2023 10:18:05 -0400 Subject: [PATCH] try to get the coveralls we already have instead of installing again --- .circleci/config.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 55f881e4b..865020c1c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -258,14 +258,15 @@ jobs: name: "Convert Result Log" command: | # The Python for which we installed subunit is not necessarily on - # %PATH% so (possibly) re-install it with the default Python. - python -m pip install python-subunit junitxml + # %PATH% so put it there. + $p = py -<> -c "import sys; print(sys.prefix)" + $env:PATH = "$env:PATH;$p\Scripts" # subunit2junitxml exits with error if the result stream it is # converting has test failures in it! So this step might fail. # Since the step in which we actually _ran_ the tests won't fail # even if there are test failures, this is a good thing for now. - subunit2junitxml --output-to=test-results.xml test-results.subunit2 + subunit2junitxml.exe --output-to=test-results.xml test-results.subunit2 - "store_test_results": path: "test-results.xml"