Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.github: fix python_cdk_tests.yml #35567

Merged
merged 1 commit into from
Feb 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 2 additions & 15 deletions .github/workflows/python_cdk_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
S3_BUILD_CACHE_ACCESS_KEY_ID: ${{ secrets.SELF_RUNNER_AWS_ACCESS_KEY_ID }}
S3_BUILD_CACHE_SECRET_KEY: ${{ secrets.SELF_RUNNER_AWS_SECRET_ACCESS_KEY }}

on:
workflow_dispatch:
push:
Expand Down Expand Up @@ -36,6 +32,7 @@ jobs:
filters: |
python_cdk:
- 'airbyte-cdk/python/**/*'

run-python-cdk-check:
needs:
- changes
Expand All @@ -54,18 +51,8 @@ jobs:
run: curl -fsSL https://bootstrap.pypa.io/get-pip.py | python3
- name: Install Pyenv
run: python3 -m pip install virtualenv --user
- name: cd airbyte-cdk/python
run: cd airbyte-cdk/python
- name: Run Gradle Check on Python CDK
uses: burrunan/gradle-cache-action@v1
env:
CI: true
with:
job-id: python-cdk-check
read-only: ${{ github.ref != 'refs/heads/master' }}
gradle-distribution-sha-256-sum-warning: false
concurrent: true
arguments: --scan build
run: (cd airbyte-cdk/python && CI=true ./gradlew --no-daemon --no-build-cache --scan check)

set-instatus-incident-on-failure:
name: Create Instatus Incident on Failure
Expand Down