Skip to content

Commit 44eace0

Browse files
authored
Actions: Fix measuring coverage (#471)
1 parent ca3ed6a commit 44eace0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Diff for: .github/workflows/tests.yaml

+8-2
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,18 @@ jobs:
3232
with:
3333
python-version: ${{ matrix.python-version }}
3434

35+
- name: Install dependencies
36+
env:
37+
PIP_NO_PYTHON_VERSION_WARNING: 1
38+
PIP_DISABLE_PIP_VERSION_CHECK: 1
39+
run: |
40+
pip install -U coverage pytest pytest-cov
41+
python setup.py develop
42+
3543
- name: Run tests
3644
env:
3745
TESTDB: actions.cnf
3846
run: |
39-
pip install -U coverage pytest pytest-cov
40-
pip install .
4147
pytest --cov=MySQLdb tests
4248
4349
- uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)