From 6849b153b78c4fa6dad696e795cc6e7edd1b5eb2 Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Mon, 16 Sep 2024 09:37:05 +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 c020c11..02d7605 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,6 +53,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\", \ @@ -193,7 +198,6 @@ jobs: run: | make doclinkcheck - 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 eb01533..1ff5ceb 100644 --- a/Makefile +++ b/Makefile @@ -133,7 +133,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 project diff --git a/docs/changes.rst b/docs/changes.rst index a3fc8d7..e815889 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -27,6 +27,10 @@ Released: not yet **Bug fixes:** +* 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:** * Added '__version_tuple__' with the integer versions. (related to issue #180)