WIP: feat/glide destination #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python CDK - Run mypy on modified cdk files | |
on: | |
pull_request: | |
paths: | |
- "airbyte-cdk/python/airbyte_cdk/**/*.py" | |
jobs: | |
run-mypy-on-modified-cdk-files: | |
name: "Run mypy on modified cdk files" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Airbyte | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- run: pip install mypy==1.11.0 | |
- name: Get Python changed files | |
id: changed-py-files | |
uses: tj-actions/changed-files@v43 | |
with: | |
files: "airbyte-cdk/python/airbyte_cdk/**/*.py" | |
- name: Run if any of the listed files above is changed | |
if: steps.changed-py-files.outputs.any_changed == 'true' | |
run: mypy ${{ steps.changed-py-files.outputs.all_changed_files }} --config-file airbyte-cdk/python/mypy.ini --install-types --non-interactive |