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

[DO NOT REVIEW] Test cache only [skip ci] #2

Closed
wants to merge 7 commits into from
Closed
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
35 changes: 35 additions & 0 deletions .github/workflows/mvn-verify-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,14 @@ jobs:
env | grep JAVA
java -version && mvn --version && echo "ENV JAVA_HOME: $JAVA_HOME, PATH: $PATH"

# - name: Cache local Maven repository
# uses: actions/cache@v3
# with:
# path: ~/.m2/repository
# key: ${{ runner.os }}-maven-${{ hashFiles('**/**/pom.xml') }}
# restore-keys: |
# ${{ runner.os }}-maven-

- name: package tests check
run: |
# https://github.com/NVIDIA/spark-rapids/issues/8847
Expand All @@ -125,6 +133,9 @@ jobs:
export PATH=${JAVA_HOME}/bin:${PATH}
java -version && mvn --version && echo "ENV JAVA_HOME: $JAVA_HOME, PATH: $PATH"
# test command, will retry for 3 times if failed.

mvn help:effective-settings

max_retry=3; delay=30; i=1
while true; do
mvn -Dmaven.wagon.http.retryHandler.count=3 \
Expand Down Expand Up @@ -162,6 +173,14 @@ jobs:
env | grep JAVA
java -version && mvn --version && echo "ENV JAVA_HOME: $JAVA_HOME, PATH: $PATH"

# - name: Cache local Maven repository
# uses: actions/cache@v3
# with:
# path: ~/.m2/repository
# key: ${{ runner.os }}-maven-${{ hashFiles('**/**/pom.xml') }}
# restore-keys: |
# ${{ runner.os }}-maven-

- name: package tests check
run: |
# https://github.com/NVIDIA/spark-rapids/issues/8847
Expand Down Expand Up @@ -216,6 +235,14 @@ jobs:
env | grep JAVA
java -version && mvn --version && echo "ENV JAVA_HOME: $JAVA_HOME, PATH: $PATH"

# - name: Cache local Maven repository
# uses: actions/cache@v3
# with:
# path: ~/.m2/repository
# key: ${{ runner.os }}-maven-${{ hashFiles('**/**/pom.xml') }}
# restore-keys: |
# ${{ runner.os }}-maven-

- name: Build JDK
run: |
# https://github.com/NVIDIA/spark-rapids/issues/8847
Expand Down Expand Up @@ -262,6 +289,14 @@ jobs:
env | grep JAVA
java -version && mvn --version && echo "ENV JAVA_HOME: $JAVA_HOME, PATH: $PATH"

# - name: Cache local Maven repository
# uses: actions/cache@v3
# with:
# path: ~/.m2/repository
# key: ${{ runner.os }}-maven-${{ hashFiles('**/**/pom.xml') }}
# restore-keys: |
# ${{ runner.os }}-maven-

- name: Install with Maven ${{ matrix.maven-version }}
run: |
# https://github.com/NVIDIA/spark-rapids/issues/8847
Expand Down