[AMORO-2217] 0.4.x fix clear and reset ServiceContainer after HA (#2221) #2834
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
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Core CI with Maven | |
on: | |
push: | |
branches: | |
- "master" | |
- "0.**" | |
paths: | |
- "ams/**" | |
- "core/**" | |
- "flink/**" | |
- "hive/**" | |
- "optimizer/**" | |
- "spark/**" | |
- "trino/**" | |
- "pom.xml" | |
pull_request: | |
branches: | |
- "master" | |
- "0.**" | |
paths-ignpore: | |
- ".github/**" | |
- ".idea/**" | |
- "dev/**" | |
- "dist/**" | |
- "docker/**" | |
- "site/**" | |
- "style/**" | |
- ".gitignore" | |
- "LICENSE" | |
- "README.md" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'temurin' | |
cache: maven | |
- name: Build all module with Maven | |
run: mvn install -pl '!trino' | |
- name: Code coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
verbose: true | |
flags: core |