Repository: pywbem/pywbemtools (language: python)

Issue:
Fixed coveralls not found on MacOS with py39-311
Was reviewed in https://github.com/pywbem/pywbem/pull/3220 - no separate review needed.


Discussion / hints:

Fix patch:
diff --git a/Makefile b/Makefile
index 1ef71eca..65ae165e 100644
--- a/Makefile
+++ b/Makefile
@@ -140,7 +140,7 @@ else
   RMDIR_R_FUNC = find . -type d -name '$(1)' | xargs -n 1 rm -rf
   CP_FUNC = cp -r $(1) $(2)
   ENV = env | sort
-  WHICH = which
+  WHICH = which -a
 endif
 
 # Name of this Python package on Pypi
diff --git a/docs/changes.rst b/docs/changes.rst
index d0a89185..c418a7e4 100644
--- a/docs/changes.rst
+++ b/docs/changes.rst
@@ -20,6 +20,10 @@ Released: not yet
 
 * Fixed new issues reported by Pylint 3.2.
 
+* Test: Fixed the issue that coveralls was not found in the test workflow on MacOS
+  with Python 3.9-3.11, by running it without login shell. Added Python 3.11 on
+  MacOS to the normal tests.
+
 * For Python 3.6 and 3.7, changed macos-latest back to macos-12 because
   macos-latest got upgraded from 12 to 14 and no longer supports Python 3.6
   and 3.7.


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 574f486a..5ceb7e80 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -173,6 +173,11 @@ jobs:
                 \"python-version\": \"3.8\", \
                 \"package_level\": \"latest\" \
               }, \
+              { \
+                \"os\": \"macos-latest\", \
+                \"python-version\": \"3.11\", \
+                \"package_level\": \"latest\" \
+              }, \
               { \
                 \"os\": \"macos-latest\", \
                 \"python-version\": \"3.12\", \
@@ -350,7 +355,6 @@ jobs:
       run: |
         make end2endtest
     - name: Send coverage result to coveralls.io
-      shell: bash -l {0}
       env:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         COVERALLS_PARALLEL: true