Skip to content

Updated quotation placement to fix TypeError #235

Updated quotation placement to fix TypeError

Updated quotation placement to fix TypeError #235

Workflow file for this run

name: Build and test
on:
push:
branches: ['main']
pull_request:
branches: ['main']
release:
types: [ 'created' ]
# This allows a subsequent queued workflow run to interrupt and cancel previous runs
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
Run-Unit-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python: [ '3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '${{ matrix.python }}'
architecture: 'x64'
- run: pip install -U pip wheel
- run: pip install -e '.[tests]'
- run: pip install -e '.[openlineage]'
- run: mypy fivetran_provider_async/ --exclude "fivetran_provider_async/example_dags/*"
- run: pytest --junit-xml=test-report/report.xml tests
build-n-publish:
if: github.event_name == 'release'
name: Build and publish Python 🐍 distributions 📦 to PyPI
needs:
- Run-Unit-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.9'
architecture: 'x64'
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ hashFiles('setup.cfg') }}
- name: Verify Git Tag and package version
run: python3 .github/scripts/verify_tag_and_version.py
- run: pip3 install -U pip wheel build twine
- run: python3 -m build
- run: twine check dist/*
- run: twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}