enforce bulk CDK version bump when modifying testFixtures (#69079)
This commit is contained in:
15
.github/workflows/java-cdk-tests.yml
vendored
15
.github/workflows/java-cdk-tests.yml
vendored
@@ -38,27 +38,30 @@ jobs:
|
|||||||
- 'airbyte-cdk/java/**/*'
|
- 'airbyte-cdk/java/**/*'
|
||||||
- 'airbyte-cdk/bulk/**/*'
|
- 'airbyte-cdk/bulk/**/*'
|
||||||
|
|
||||||
changes-in-bulk:
|
# Check for changes in the actual artifact that we'll publish.
|
||||||
name: Detect Changes in Bulk
|
# Notably, this does _not_ include test/integrationTest.
|
||||||
|
changes-in-bulk-artifact:
|
||||||
|
name: Detect Changes in Bulk CDK artifact
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
outputs:
|
outputs:
|
||||||
java: ${{ steps.changes-in-bulk.outputs.java }}
|
java: ${{ steps.changes-in-bulk-artifact.outputs.java }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Airbyte
|
- name: Checkout Airbyte
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
||||||
- id: changes-in-bulk
|
- id: changes-in-bulk-artifact
|
||||||
uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
|
uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
|
||||||
with:
|
with:
|
||||||
filters: |
|
filters: |
|
||||||
java:
|
java:
|
||||||
- 'airbyte-cdk/bulk/**/**/src/main/**/*'
|
- 'airbyte-cdk/bulk/**/**/src/main/**/*'
|
||||||
|
- 'airbyte-cdk/bulk/**/**/src/testFixtures/**/*'
|
||||||
|
|
||||||
run-check-bulk-cdk-version:
|
run-check-bulk-cdk-version:
|
||||||
needs:
|
needs:
|
||||||
- changes-in-bulk
|
- changes-in-bulk-artifact
|
||||||
if: needs.changes-in-bulk.outputs.java == 'true'
|
if: needs.changes-in-bulk-artifact.outputs.java == 'true'
|
||||||
runs-on: linux-24.04-large # Custom runner, defined in GitHub org settings
|
runs-on: linux-24.04-large # Custom runner, defined in GitHub org settings
|
||||||
name: Bulk CDK version check
|
name: Bulk CDK version check
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
|
|||||||
Reference in New Issue
Block a user