Skip to content

Commit

Permalink
Change coverage report to run on Python 3.7 to work around bug
Browse files Browse the repository at this point in the history
When collecting coverage data on Python 3.7 and earlier but generating
the coverage report in 3.8 or later, some decorators show incorrect
coverage information (see nedbat/coveragepy#866
for more details).

This commit changes the github action to use Python 3.7 when generating
the coverage report, hopefully working around this issue for some of the
Windows-only modules which are only run on Python 3.6 and 3.7.
  • Loading branch information
ronf committed Apr 23, 2022
1 parent c01093a commit e9f0e5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.7"
- uses: actions/download-artifact@v2
with:
name: coverage
Expand Down

0 comments on commit e9f0e5d

Please sign in to comment.