Skip to content

Commit 3f92746

Browse files
committed
fix coverage script sequence
1 parent 0e60b47 commit 3f92746

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,12 @@ run = [
9595
"playwright install-deps",
9696
"pytest{env:HATCH_TEST_ARGS:} {args}",
9797
]
98-
run-cov = "coverage run -m pytest{env:HATCH_TEST_ARGS:} {args}"
98+
run-cov = [
99+
"hatch --env default build -t wheel",
100+
"playwright install chromium",
101+
"playwright install-deps",
102+
"coverage run -m pytest{env:HATCH_TEST_ARGS:} {args}",
103+
]
99104
cov-combine = "coverage combine"
100105
cov-report = "coverage report"
101106

0 commit comments

Comments
 (0)