Skip to content
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
17 changes: 10 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ jobs:
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3
id: filter
if: github.event_name == 'pull_request'
with:
# Note: `docs` output is currently unused. The docs changes are tested by maven-checks job, leveraging GIB impact analysis.
# TODO remove use of non_docs filters and remove `path-filters` job. Use GIB impact analysis to guard job skipping.
filters: |
docs: 'docs/**'
non_docs: '!docs/**'
Expand Down Expand Up @@ -100,7 +103,7 @@ jobs:

artifact-checks:
needs: path-filters
if: needs.path-filters.outputs.non_docs == 'true'
if: github.event_name != 'pull_request' || needs.path-filters.outputs.non_docs == 'true'
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
Expand Down Expand Up @@ -189,7 +192,7 @@ jobs:

error-prone-checks:
needs: path-filters
if: needs.path-filters.outputs.non_docs == 'true'
if: github.event_name != 'pull_request' || needs.path-filters.outputs.non_docs == 'true'
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
Expand Down Expand Up @@ -219,7 +222,7 @@ jobs:

test-jdbc-compatibility:
needs: path-filters
if: needs.path-filters.outputs.non_docs == 'true'
if: github.event_name != 'pull_request' || needs.path-filters.outputs.non_docs == 'true'
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
Expand Down Expand Up @@ -261,7 +264,7 @@ jobs:

hive-tests:
needs: path-filters
if: needs.path-filters.outputs.non_docs == 'true'
if: github.event_name != 'pull_request' || needs.path-filters.outputs.non_docs == 'true'
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -319,7 +322,7 @@ jobs:

test-other-modules:
needs: path-filters
if: needs.path-filters.outputs.non_docs == 'true'
if: github.event_name != 'pull_request' || needs.path-filters.outputs.non_docs == 'true'
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
Expand Down Expand Up @@ -408,7 +411,7 @@ jobs:

build-test-matrix:
needs: path-filters
if: needs.path-filters.outputs.non_docs == 'true'
if: github.event_name != 'pull_request' || needs.path-filters.outputs.non_docs == 'true'
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
Expand Down Expand Up @@ -833,7 +836,7 @@ jobs:

build-pt:
needs: path-filters
if: needs.path-filters.outputs.non_docs == 'true'
if: github.event_name != 'pull_request' || needs.path-filters.outputs.non_docs == 'true'
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
Expand Down