Skip to content

Commit

Permalink
fix(ci): connector integration test trigger condition (#9636)
Browse files Browse the repository at this point in the history
  • Loading branch information
WillyKidd authored May 6, 2023
1 parent ee7bf4a commit 06803cb
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/connector-node-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ name: Connector Node Integration Tests
on:
push:
branches: [main]
paths: [java/**, proto/**]
pull_request:
branches: [main]
paths: [java/**, proto/**]

jobs:
build:
Expand All @@ -17,13 +15,23 @@ jobs:
name: Java ${{ matrix.java }}
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
java:
- 'java/**'
proto:
- 'proto/**'
- name: Set up JDK ${{ matrix.java }}
if: steps.filter.outputs.java == 'true' || steps.filter.outputs.proto == 'true'
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
cache: 'maven'
- name: run integration tests
if: steps.filter.outputs.java == 'true' || steps.filter.outputs.proto == 'true'
run: |
set -ex
Expand Down

0 comments on commit 06803cb

Please sign in to comment.