Skip to content

Commit 2c5697a

Browse files
authored
Merge pull request #29 from wwwjfy/update-starlette
Update starlette
2 parents 1bbcc4d + ec5d649 commit 2c5697a

File tree

4 files changed

+436
-321
lines changed

4 files changed

+436
-321
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: [ '3.6', '3.7', '3.8' ]
19-
postgres-version: [ '9.6', '12.1' ]
18+
python-version: [ '3.6', '3.7', '3.8', '3.9' ]
2019
services:
2120
postgres:
22-
image: fantix/postgres-ssl:${{ matrix.postgres-version }}
21+
image: fantix/postgres-ssl:13.1
2322
env:
2423
POSTGRES_USER: gino
24+
POSTGRES_HOST_AUTH_METHOD: trust
2525
ports:
2626
- 5432:5432
2727
# needed because the postgres container does not provide a healthcheck
@@ -51,11 +51,10 @@ jobs:
5151
run: |
5252
$HOME/.poetry/bin/poetry run pytest --cov=src --cov=examples --cov-fail-under=95 --cov-report xml
5353
- name: Check code format with black
54-
if: matrix.python-version >= '3.6'
5554
run: |
5655
$HOME/.poetry/bin/poetry run black --check src
5756
- name: Submit coverage report
58-
if: matrix.python-version == '3.8' && matrix.postgres-version == '12.1' && github.ref == 'refs/heads/master'
57+
if: matrix.python-version == '3.9' && github.ref == 'refs/heads/master'
5958
env:
6059
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_TOKEN }}
6160
run: |

0 commit comments

Comments
 (0)