Skip to content

build(deps-dev): Bump black from 23.3.0 to 23.7.0 #303

build(deps-dev): Bump black from 23.3.0 to 23.7.0

build(deps-dev): Bump black from 23.3.0 to 23.7.0 #303

Workflow file for this run

name: Test tap-postgres
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [main]
jobs:
tests:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
PIP_CONSTRAINT: .github/workflows/constraints.txt
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Fix Permissions
run: |
chmod 777 -R ./ssh_tunnel/ssh-server-config
- uses: isbang/[email protected]
# Leaving comments as this makes testing the openssh docker image easier and should save someone some time later
# - name: Test SSH File Permissiosn
# run: |
# docker exec openssh-server ls -lsa /config/ssh_host_keys
# docker exec openssh-server cat /config/logs/openssh/current
# docker exec openssh-server ps aux
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: |
pip install pip
pip --version
- name: Install Poetry
run: |
pip install poetry
poetry --version
- name: Install dependencies
run: |
poetry install
- name: Run pytest
run: |
poetry run pytest
- name: Run lint
run: |
poetry run tox -e lint