Skip to content

Commit

Permalink
.github: fix python_cdk_tests.yml (#35567)
Browse files Browse the repository at this point in the history
  • Loading branch information
postamar authored and xiaohansong committed Feb 27, 2024
1 parent bd6aa0f commit ad109fd
Showing 1 changed file with 2 additions and 15 deletions.
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

0 comments on commit ad109fd

Please sign in to comment.