Skip to content

Commit c92984b

Browse files
committed
fix: Use full environment names for py37 coverage exclusion
The tox environment names in GitHub Actions include the OS suffix (e.g., py37-ubuntu-22.04), so we need to match the full names.
1 parent e7e6683 commit c92984b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ setenv =
3535
PYTESTARGS = --cov=functions_framework --cov-branch --cov-report term-missing --cov-fail-under=100
3636
windows-latest: PYTESTARGS =
3737
# Python 3.7: Exclude aio module from coverage since it requires Python 3.8+ (Starlette dependency)
38-
py37: PYTESTARGS = --cov=functions_framework --cov-branch --cov-report term-missing --cov-fail-under=100 --cov-omit='*/aio/*'
38+
py37-{ubuntu-22.04,macos-13,windows-latest}: PYTESTARGS = --cov=functions_framework --cov-branch --cov-report term-missing --cov-fail-under=100 --cov-omit='*/aio/*'
3939
commands = pytest {env:PYTESTARGS} {posargs}
4040

4141
[testenv:lint]

0 commit comments

Comments
 (0)