File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ jobs:
15
15
runs-on : ubuntu-latest
16
16
strategy :
17
17
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' ]
20
19
services :
21
20
postgres :
22
- image : fantix/postgres-ssl:${{ matrix.postgres-version }}
21
+ image : fantix/postgres-ssl:13.1
23
22
env :
24
23
POSTGRES_USER : gino
24
+ POSTGRES_HOST_AUTH_METHOD : trust
25
25
ports :
26
26
- 5432:5432
27
27
# needed because the postgres container does not provide a healthcheck
@@ -51,11 +51,10 @@ jobs:
51
51
run : |
52
52
$HOME/.poetry/bin/poetry run pytest --cov=src --cov=examples --cov-fail-under=95 --cov-report xml
53
53
- name : Check code format with black
54
- if : matrix.python-version >= '3.6'
55
54
run : |
56
55
$HOME/.poetry/bin/poetry run black --check src
57
56
- 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'
59
58
env :
60
59
CODACY_PROJECT_TOKEN : ${{ secrets.CODACY_TOKEN }}
61
60
run : |
You can’t perform that action at this time.
0 commit comments