Skip to content

Commit 3de07dd

Browse files
committed
Install coverage via pyproject.toml
1 parent baa00cf commit 3de07dd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
cache: pip
2323
cache-dependency-path: pyproject.toml
2424
- name: Install dependencies
25-
run: pip install -e .[test] coverage
25+
run: pip install -e .[test]
2626
- name: Test with pytest
2727
run: coverage run -m pytest
2828
- name: Upload Coverage

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ dynamic = ["version"]
4141

4242
[project.optional-dependencies]
4343
test = [
44-
"pytest",
45-
"pytest-cov",
44+
"pytest >= 7.4",
45+
"coverage >= 7",
4646
"psycopg2-binary",
4747
"mysql-connector-python",
4848
]

0 commit comments

Comments
 (0)