summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2023-04-14 14:51:58 +0200
committerAndi Albrecht <albrecht.andi@gmail.com>2023-04-14 14:51:58 +0200
commitb949fdf9a1538f98b57612bef6306fc38f32aaf7 (patch)
tree3452a43215b131ed1e28eda04a9b81e968e61ad6
parentfc76056fb8f0ec713a3f2a2b6206a3336932c382 (diff)
downloadsqlparse-b949fdf9a1538f98b57612bef6306fc38f32aaf7.tar.gz
CI: Use codecov action.
codecov module is deprecated and was removed from PyPI in favor of the github action.
-rw-r--r--.github/workflows/python-app.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml
index 906ca7e..3033af9 100644
--- a/.github/workflows/python-app.yml
+++ b/.github/workflows/python-app.yml
@@ -30,10 +30,9 @@ jobs:
run: |
python -m pip install --upgrade pip flit
flit install --deps=develop
- pip install codecov
- name: Lint with flake8
run: flake8 sqlparse --count --max-complexity=31 --show-source --statistics
- name: Test with pytest
run: pytest --cov=sqlparse
- name: Publish to codecov
- run: codecov
+ uses: codecov/codecov-action@v3