Skip to content

Commit 875f5f4

Browse files
committed
Update and rename ci.yml to computer-ci.yml
1 parent fe358d3 commit 875f5f4

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/ci.yml renamed to .github/workflows/computer-ci.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
name: "hugegraph-computer ci"
1+
name: "Computer CI"
22

33
on:
44
push:
55
branches:
66
- master
77
- /^release-.*$/
8+
paths:
9+
- computer/**
810
pull_request:
11+
paths:
12+
- computer/**
913
defaults:
1014
run:
1115
working-directory: computer
@@ -28,8 +32,9 @@ jobs:
2832
with:
2933
fetch-depth: 2
3034

35+
# TODO: Upgrade to Java11 supported version
3136
- name: Install JDK 8 for HDFS
32-
uses: actions/setup-java@v3
37+
uses: actions/setup-java@v4
3338
with:
3439
java-version: '8'
3540
distribution: 'zulu'
@@ -42,12 +47,12 @@ jobs:
4247
grep "Binaries" merged-rat.txt -C 3 && cat merged-rat.txt
4348
4449
- name: Setup Python3
45-
uses: actions/setup-python@v4
50+
uses: actions/setup-python@v5
4651
with:
4752
python-version: '3.8'
4853

4954
- name: Cache HDFS packages
50-
uses: actions/cache@v3
55+
uses: actions/cache@v4
5156
id: hdfs-cache
5257
with:
5358
path: ~/hadoop-3.3.2.tar.gz
@@ -65,7 +70,7 @@ jobs:
6570
run: $TRAVIS_DIR/install-k8s.sh
6671

6772
- name: Cache Maven packages
68-
uses: actions/cache@v3
73+
uses: actions/cache@v4
6974
with:
7075
path: ~/.m2
7176
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
@@ -82,7 +87,7 @@ jobs:
8287
$TRAVIS_DIR/load-data-into-hugegraph.sh ${{ env.GRAPH_ENV_VERSION }}
8388
8489
- name: Install JDK 11
85-
uses: actions/setup-java@v3
90+
uses: actions/setup-java@v4
8691
with:
8792
java-version: '11'
8893
distribution: 'zulu'
@@ -103,6 +108,7 @@ jobs:
103108
run: mvn test -P unit-test -ntp
104109

105110
- name: Upload coverage to Codecov
111+
# TODO: Upgrade to v5 later
106112
uses: codecov/codecov-action@v3
107113
with:
108114
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)