From 740ae2b995a02024e8cc1004e756acf8a2730e4f Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Mon, 16 Sep 2024 08:59:44 +0200 Subject: [PATCH] Fixed coveralls not found on MacOS with py39-311 Signed-off-by: Andreas Maier --- .github/workflows/test.yml | 6 +++++- Makefile | 2 +- docs/changes.rst | 4 ++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 981e9916..23f4c322 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -138,6 +138,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\", \ @@ -271,7 +276,6 @@ jobs: run: | make test - name: Send coverage result to coveralls.io - shell: bash -l {0} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} COVERALLS_PARALLEL: true diff --git a/Makefile b/Makefile index dde65ba3..33451d44 100644 --- a/Makefile +++ b/Makefile @@ -93,7 +93,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 # Default path names of HMC inventory and vault files used for end2end tests. diff --git a/docs/changes.rst b/docs/changes.rst index 042a9017..f0c597ce 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -33,6 +33,10 @@ Released: not yet * Addressed safety issues up to 2024-08-18. +* 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. + **Enhancements:** **Cleanup:**