fix(hubble): validate new FE/BE runtime and enable executable backend #485
Workflow file for this run
This file contains hidden or 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: "spark-connector-ci" | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - master | |
| - /^release-.*$/ | |
| paths: | |
| - hugegraph-spark-connector/** | |
| - hugegraph-dist/** | |
| - .github/workflows/** | |
| - pom.xml | |
| pull_request: | |
| paths: | |
| - hugegraph-spark-connector/** | |
| - hugegraph-dist/** | |
| - hugegraph-client/** | |
| - .github/workflows/** | |
| - pom.xml | |
| jobs: | |
| spark-connector-ci: | |
| runs-on: ubuntu-latest | |
| env: | |
| USE_STAGE: 'true' # Whether to include the stage repository. | |
| TRAVIS_DIR: hugegraph-spark-connector/assembly/travis | |
| # hugegraph commit date: 2025-10-30 | |
| COMMIT_ID: 5b3d295 | |
| strategy: | |
| matrix: | |
| JAVA_VERSION: [ '11' ] | |
| steps: | |
| - name: Fetch Code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 2 | |
| - name: Install JDK 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '11' | |
| distribution: 'adopt' | |
| - name: Cache Maven packages | |
| uses: actions/cache@v3 | |
| with: | |
| path: ~/.m2 | |
| key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: ${{ runner.os }}-m2 | |
| - name: use staged maven repo settings | |
| if: ${{ env.USE_STAGE == 'true' }} | |
| run: | | |
| cp $HOME/.m2/settings.xml /tmp/settings.xml | |
| mv -vf .github/configs/settings.xml $HOME/.m2/settings.xml | |
| - name: Compile | |
| run: | | |
| mvn install -pl hugegraph-client,hugegraph-spark-connector -am -Dmaven.javadoc.skip=true -DskipTests -ntp | |
| - name: Prepare env and service | |
| run: | | |
| $TRAVIS_DIR/install-hugegraph-from-source.sh $COMMIT_ID | |
| - name: Run test | |
| run: | | |
| cd hugegraph-spark-connector && ls | |
| mvn test |