summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2021-09-10 09:24:23 +0200
committerAndi Albrecht <albrecht.andi@gmail.com>2021-09-10 09:24:23 +0200
commitd5165aef8187c9a8560905a647780a0b9f6d7b7f (patch)
treeecc244fbd5020e9d24970a64fd86e3641ecd9abe
parent815040ebd85374c0a6e91fba1445c5f2425f0001 (diff)
downloadsqlparse-d5165aef8187c9a8560905a647780a0b9f6d7b7f.tar.gz
Update github action.
-rw-r--r--.github/workflows/python-app.yml4
-rw-r--r--README.rst4
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml
index e09995d..0659236 100644
--- a/.github/workflows/python-app.yml
+++ b/.github/workflows/python-app.yml
@@ -31,9 +31,9 @@ jobs:
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
+ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics sqlparse
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
+ flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics sqlparse
- name: Test with pytest
run: |
pytest
diff --git a/README.rst b/README.rst
index 92e15c1..a840886 100644
--- a/README.rst
+++ b/README.rst
@@ -67,8 +67,8 @@ sqlparse is licensed under the BSD license.
Parts of the code are based on pygments written by Georg Brandl and others.
pygments-Homepage: http://pygments.org/
-.. |buildstatus| image:: https://secure.travis-ci.org/andialbrecht/sqlparse.png?branch=master
-.. _buildstatus: https://travis-ci.org/#!/andialbrecht/sqlparse
+.. |buildstatus| image:: https://github.com/andialbrecht/sqlparse/actions/workflows/python-app.yml/badge.svg
+.. _buildstatus: https://github.com/andialbrecht/sqlparse/actions/workflows/python-app.yml
.. |coverage| image:: https://codecov.io/gh/andialbrecht/sqlparse/branch/master/graph/badge.svg
.. _coverage: https://codecov.io/gh/andialbrecht/sqlparse
.. |docs| image:: https://readthedocs.org/projects/sqlparse/badge/?version=latest