[ISSUE-47] support run on ray community version #345
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI with Maven | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
JAVA_TOOL_OPTIONS: -Xmx3g | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Print available memory | |
run: free -m | |
- name: Set time zone | |
run: sudo ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'temurin' | |
cache: maven | |
- name: Build and Test | |
run: mvn -B -e clean test -Duser.timezone=Asia/Shanghai |