File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -20,18 +20,30 @@ jobs:
2020 steps :
2121 - uses : actions/checkout@v4
2222
23- - uses : actions/setup-python@v5
23+ - name : Set up Python 3.9
24+ uses : actions/setup-python@v5
2425 with :
2526 python-version : " 3.9"
2627
2728 - name : install packages to tests
2829 run : |
2930 pip install ./psycopg[dev,test]
3031 pip install types-polib
32+ pip install pre-commit
3133
3234 - name : Lint codebase
3335 run : pre-commit run -a --color=always
3436
37+ - name : Set up Python 3.11
38+ uses : actions/setup-python@v5
39+ with :
40+ python-version : " 3.11"
41+
42+ - name : Install packages for async_to_sync
43+ run : |
44+ pip install ./psycopg[dev,test]
45+ pip install types-polib
46+
3547 - name : Check for sync/async inconsistencies
3648 run : ./tools/async_to_sync.py --check $(find tests -name "*_async.py" -type f ! -path "tests/pq/test_async.py")
3749
You can’t perform that action at this time.
0 commit comments