From: Daniele Varrazzo Date: Tue, 15 Aug 2023 22:12:25 +0000 (+0100) Subject: ci: check for inconsistencies between sync and async code X-Git-Tag: pool-3.2.0~12^2~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92791d6796f7f86620c926ad635f043ab0a5677a;p=thirdparty%2Fpsycopg.git ci: check for inconsistencies between sync and async code --- diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 216032636..c8990a34f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,7 +25,7 @@ jobs: python-version: "3.10" - name: install packages to tests - run: pip install ./psycopg[dev,test] codespell + run: pip install ./psycopg[dev,test] codespell ast-comments - name: Run black run: black --check --diff . @@ -36,6 +36,9 @@ jobs: - name: Run mypy run: mypy + - name: Check for sync/async inconsistencies + run: ./tools/convert_async_to_sync.sh --check + - name: Check spelling run: codespell