diff options
-rw-r--r-- | .github/workflows/python-app.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 0659236..c959087 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -26,7 +26,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install flake8 pytest + pip install flake8 pytest pytest-cov codecov if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Lint with flake8 run: | @@ -36,4 +36,7 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics sqlparse - name: Test with pytest run: | - pytest + pytest --cov=sqlparse + - name: Publish to codecov + run: | + codecov |