on:
push:
- branches: [ master ]
+ branches:
+ - master
jobs:
docs:
runs-on: ubuntu-20.04
steps:
- - uses: actions/checkout@v2
- - name: Trigger docs build
- run: TRAVIS_BRANCH=master ./tools/travis_update_docs.sh
+ - uses: actions/checkout@v2
+ - name: Trigger docs build
+ run: TRAVIS_BRANCH=master ./tools/travis_update_docs.sh
runs-on: ubuntu-20.04
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-python@v2
- - name: Install tox
- run: pip install tox
- - name: Run black
- run: tox -e black
- - name: Run flake8
- run: tox -e flake8
- - name: Run mypy
- run: tox -e mypy
+ - uses: actions/checkout@v2
+ - uses: actions/setup-python@v2
+ - name: Install tox
+ run: pip install tox
+ - name: Run black
+ run: tox -e black
+ - name: Run flake8
+ run: tox -e flake8
+ - name: Run mypy
+ run: tox -e mypy
--health-retries 5
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-python@v2
- with:
- python-version: ${{ matrix.python }}
- - name: Install tox
- run: pip install tox
- - name: Run tests
- run: tox -c psycopg3 -e ${{ matrix.python }} -- --color yes
+ - uses: actions/checkout@v2
+ - uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python }}
+ - name: Install tox
+ run: pip install tox
+ - name: Run tests
+ run: tox -c psycopg3 -e ${{ matrix.python }} -- --color yes
c:
name: C implementation
--health-retries 5
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-python@v2
- with:
- python-version: ${{ matrix.python }}
- - name: Install tox
- run: pip install tox
- - name: Run tests
- run: tox -c psycopg3_c -e ${{ matrix.python }} -- --color yes
+ - uses: actions/checkout@v2
+ - uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python }}
+ - name: Install tox
+ run: pip install tox
+ - name: Run tests
+ run: tox -c psycopg3_c -e ${{ matrix.python }} -- --color yes