Skip to content

Commit 6849b15

Browse files
committed
Fixed coveralls not found on MacOS with py39-311
Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
1 parent ff09330 commit 6849b15

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ jobs:
5353
\"python-version\": \"3.8\", \
5454
\"package_level\": \"latest\" \
5555
}, \
56+
{ \
57+
\"os\": \"macos-latest\", \
58+
\"python-version\": \"3.11\", \
59+
\"package_level\": \"latest\" \
60+
}, \
5661
{ \
5762
\"os\": \"macos-latest\", \
5863
\"python-version\": \"3.12\", \
@@ -193,7 +198,6 @@ jobs:
193198
run: |
194199
make doclinkcheck
195200
- name: Send coverage result to coveralls.io
196-
shell: bash -l {0}
197201
env:
198202
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
199203
COVERALLS_PARALLEL: true

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ else
133133
RMDIR_R_FUNC = find . -type d -name '$(1)' | xargs -n 1 rm -rf
134134
CP_FUNC = cp -r $(1) $(2)
135135
ENV = env | sort
136-
WHICH = which
136+
WHICH = which -a
137137
endif
138138

139139
# Name of this project

docs/changes.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ Released: not yet
2727

2828
**Bug fixes:**
2929

30+
* Test: Fixed the issue that coveralls was not found in the test workflow on MacOS
31+
with Python 3.9-3.11, by running it without login shell. Added Python 3.11 on
32+
MacOS to the normal tests.
33+
3034
**Enhancements:**
3135

3236
* Added '__version_tuple__' with the integer versions. (related to issue #180)

0 commit comments

Comments
 (0)