Skip to content

Commit

Permalink
Merge pull request #76 from jepler/coverage-sysmon
Browse files Browse the repository at this point in the history
test coverage with new 'sysmon' coverage core
  • Loading branch information
jepler authored Dec 28, 2023
2 parents 02c06bc + 5534666 commit a61cfb1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,21 @@ jobs:
- '3.11'
- '3.12'
- '3.13.0-alpha.0 - 3.13'
- 'pypy-3.9'
os-version:
- 'ubuntu-latest'
coverage-core:
- 'ctrace'
include:
- os-version: 'macos-latest'
python-version: '3.x'
- os-version: 'windows-latest'
python-version: '3.x'
- os-version: 'ubuntu-latest'
python-version: '3.12'
coverage-core: 'sysmon'
- os-version: 'ubuntu-latest'
python-version: 'pypy-3.10'
coverage-core: 'pytrace'

runs-on: ${{ matrix.os-version }}
steps:
Expand All @@ -51,7 +58,7 @@ jobs:
run: make mypy PYTHON=python

- name: Test
run: make coverage PYTHON=python
run: make coverage PYTHON=python COVERAGE_CORE=${{ matrix.coverage-core }}

- name: Upload Coverage as artifact
if: always()
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ BUILDDIR = _build
html:
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

# Pass the desired coverage tracer name to subprocesses
export COVERAGE_CORE

# Copyright (C) 2021 Jeff Epler <jepler@gmail.com>
# SPDX-FileCopyrightText: 2021 Jeff Epler
Expand Down

0 comments on commit a61cfb1

Please sign in to comment.