Skip to content

Commit

Permalink
Actions: Fix measuring coverage (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
methane authored Jan 8, 2021
1 parent ca3ed6a commit 44eace0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,18 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
env:
PIP_NO_PYTHON_VERSION_WARNING: 1
PIP_DISABLE_PIP_VERSION_CHECK: 1
run: |
pip install -U coverage pytest pytest-cov
python setup.py develop
- name: Run tests
env:
TESTDB: actions.cnf
run: |
pip install -U coverage pytest pytest-cov
pip install .
pytest --cov=MySQLdb tests
- uses: codecov/codecov-action@v1

0 comments on commit 44eace0

Please sign in to comment.