From 37f4f099283083f9f67832a9eae432dcb9100736 Mon Sep 17 00:00:00 2001 From: Marius Posta Date: Thu, 22 Feb 2024 19:55:45 -0500 Subject: [PATCH] .github: fix python_cdk_tests.yml --- .github/workflows/python_cdk_tests.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/python_cdk_tests.yml b/.github/workflows/python_cdk_tests.yml index 0873bf4d93ac0..0fc8a9b5bacbb 100644 --- a/.github/workflows/python_cdk_tests.yml +++ b/.github/workflows/python_cdk_tests.yml @@ -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: @@ -36,6 +32,7 @@ jobs: filters: | python_cdk: - 'airbyte-cdk/python/**/*' + run-python-cdk-check: needs: - changes @@ -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