Commit 089fcf8 1 parent d08c27e commit 089fcf8 Copy full SHA for 089fcf8
File tree 2 files changed +4
-18
lines changed
2 files changed +4
-18
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ name: arrow flight tests
2
2
3
3
on :
4
4
pull_request :
5
+ paths-ignore :
6
+ - ' presto-docs/**'
5
7
6
8
env :
7
9
CONTINUOUS_INTEGRATION : true
12
14
RETRY : .github/bin/retry
13
15
14
16
jobs :
15
- changes :
16
- runs-on : ubuntu-latest
17
- permissions :
18
- pull-requests : read
19
- outputs :
20
- codechange : ${{ steps.filter.outputs.codechange }}
21
- steps :
22
- - uses : dorny/paths-filter@v2
23
- id : filter
24
- with :
25
- filters : |
26
- codechange:
27
- - '!presto-docs/**'
28
17
test :
29
18
runs-on : ubuntu-latest
30
- needs : changes
31
19
strategy :
32
20
fail-fast : false
33
21
matrix :
@@ -42,13 +30,11 @@ jobs:
42
30
steps :
43
31
# Checkout the code only if there are changes in the relevant files
44
32
- uses : actions/checkout@v4
45
- if : needs.changes.outputs.codechange == 'true'
46
33
with :
47
34
show-progress : false
48
35
49
36
# Set up Java and dependencies for the build environment
50
37
- uses : actions/setup-java@v4
51
- if : needs.changes.outputs.codechange == 'true'
52
38
with :
53
39
distribution : ' temurin'
54
40
java-version : 8
@@ -58,12 +44,10 @@ jobs:
58
44
59
45
# Install dependencies for the target module
60
46
- name : Maven Install
61
- if : needs.changes.outputs.codechange == 'true'
62
47
run : |
63
48
export MAVEN_OPTS="${MAVEN_INSTALL_OPTS}"
64
49
./mvnw install ${MAVEN_FAST_INSTALL} -am -pl ${{ matrix.modules }}
65
50
66
51
# Run Maven tests for the target module
67
52
- name : Maven Tests
68
- if : needs.changes.outputs.codechange == 'true'
69
53
run : ./mvnw test ${MAVEN_TEST} -pl ${{ matrix.modules }}
Original file line number Diff line number Diff line change @@ -76,11 +76,13 @@ jobs:
76
76
with :
77
77
show-progress : false
78
78
- uses : actions/setup-java@v4
79
+ if : needs.changes.outputs.codechange == 'true'
79
80
with :
80
81
distribution : ' temurin'
81
82
java-version : 8
82
83
cache : ' maven'
83
84
- name : Download nodejs to maven cache
85
+ if : needs.changes.outputs.codechange == 'true'
84
86
run : .github/bin/download_nodejs
85
87
- name : Maven Install
86
88
if : needs.changes.outputs.codechange == 'true'
You can’t perform that action at this time.
0 commit comments