diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4484668b8a..77852d06d4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -72,6 +72,9 @@ jobs: container: image: alpine options: --cap-add=SYS_PTRACE + env: + # Coverage is kind of broken in Alpine + SKIP_COVERAGE_HTML: 1 steps: - uses: actions/checkout@v4 - name: Set up dependencies diff --git a/Makefile b/Makefile index 96d141e917..18ff5226c4 100644 --- a/Makefile +++ b/Makefile @@ -78,7 +78,9 @@ pycoverage: ## Run the test suite, with Python code coverage --cov-append $(PYTEST_ARGS) \ tests $(PYTHON) -m coverage lcov -i -o pycoverage.lcov - genhtml *coverage.lcov --branch-coverage --output-directory memray-coverage $(GENHTMLOPTS) + if [ -z "$$SKIP_COVERAGE_HTML" ]; then \ + genhtml *coverage.lcov --branch-coverage --output-directory memray-coverage $(GENHTMLOPTS); \ + fi .PHONY: valgrind valgrind: ## Run valgrind, with the correct configuration diff --git a/news/693.bugfix.rst b/news/693.bugfix.rst new file mode 100644 index 0000000000..2957757b92 --- /dev/null +++ b/news/693.bugfix.rst @@ -0,0 +1 @@ +Fixed a bug that was causing tracking of runtime libraries that are part of the linker cache not work in macOS 15.