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

airbyte-ci-test.yml: only run if modified internal poetry packages #35551

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion .github/workflows/airbyte-ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,32 @@ on:
- reopened
- synchronize
jobs:
run-airbyte-ci-poetry-ci:
changes:
runs-on: ubuntu-latest
outputs:
internal_poetry_packages: ${{ steps.changes.outputs.internal_poetry_packages }}

steps:
- id: changes
uses: dorny/paths-filter@v2
with:
# Note: expressions within a filter are OR'ed
filters: |
internal_poetry_packages:
- airbyte-lib/**
- airbyte-ci/connectors/pipelines/**
- airbyte-ci/connectors/base_images/**
- airbyte-ci/connectors/common_utils/**
- airbyte-ci/connectors/connector_ops/**
- airbyte-ci/connectors/connectors_qa/**
- airbyte-ci/connectors/ci_credentials/**
- airbyte-ci/connectors/metadata_service/lib/**
- airbyte-ci/connectors/metadata_service/orchestrator/**
- airbyte-integrations/bases/connector-acceptance-test/**

run-tests:
needs: changes
if: needs.changes.outputs.internal_poetry_packages == 'true'
#name: Internal Poetry packages CI
# To rename in a follow up PR
name: Run Airbyte CI tests
Expand Down
Loading