diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..c60a5466c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,31 @@ +name: supersonic CI + +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 8 + uses: actions/setup-java@v2 + with: + java-version: '8' + distribution: 'adopt' + - name: Cache Maven packages + uses: actions/cache@v2 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 + - name: Build with Maven + run: mvn -B package --file pom.xml + - name: Test with Maven + run: mvn test diff --git a/README.md b/README.md index e4bb6bf7c..38d2809c1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ [中文介绍](README_CN.md) | [文档中心](https://github.com/tencentmusic/supersonic/wiki) +![Java CI](https://github.com/tencentmusic/supersonic/workflows/supersonic%20CI/badge.svg) + # SuperSonic (超音数) **SuperSonic is the next-generation LLM-powered data analytics platform that integrates ChatBI and HeadlessBI**. SuperSonic provides a chat interface that empowers users to query data using natural language and visualize the results with suitable charts. To enable such experience, the only thing necessary is to build logical semantic models (definition of entities/metrics/dimensions/tags, along with their meaning, context and relationships) on top of physical data models, and **no data modification or copying** is required. Meanwhile, SuperSonic is designed to be **highly extensible**, allowing custom functionalities to be added and configured with Java SPI.