File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 : |
You can’t perform that action at this time.
0 commit comments