feat(core): serial-timeline waveform pipeline (overlap, fall-ramp, handle lifecycle) #190
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
| # This workflow uses actions that are not certified by GitHub. | |
| # They are provided by a third-party and are governed by | |
| # separate terms of service, privacy policy, and support | |
| # documentation. | |
| # This workflow will build a Kotlin Multiplatform project with Gradle | |
| name: Jindong CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| workflow_call: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Validate Gradle Wrapper | |
| uses: gradle/actions/wrapper-validation@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Spotless Check | |
| uses: gradle/gradle-build-action@ce999babab2de1c4b649dc15f0ee67e6246c994f | |
| with: | |
| arguments: spotlessCheck | |
| - name: API Check | |
| uses: gradle/gradle-build-action@ce999babab2de1c4b649dc15f0ee67e6246c994f | |
| with: | |
| arguments: apiCheck | |
| build: | |
| needs: check | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Validate Gradle Wrapper | |
| uses: gradle/actions/wrapper-validation@v4 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.konan | |
| key: ${{ runner.os }}-${{ hashFiles('**/.lock') }} | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Build with Gradle | |
| uses: gradle/gradle-build-action@ce999babab2de1c4b649dc15f0ee67e6246c994f | |
| with: | |
| arguments: allTests | |
| - name: Generate Kover Coverage Report | |
| uses: gradle/gradle-build-action@ce999babab2de1c4b649dc15f0ee67e6246c994f | |
| with: | |
| arguments: :jindong-core:koverXmlReport | |
| - name: Generate Kover HTML Report | |
| uses: gradle/gradle-build-action@ce999babab2de1c4b649dc15f0ee67e6246c994f | |
| with: | |
| arguments: :jindong-core:koverHtmlReport | |
| - name: Upload Coverage Report | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage-report | |
| path: jindong-core/build/reports/kover/html | |
| - name: Add coverage report to PR | |
| id: kover | |
| if: github.event_name == 'pull_request' | |
| uses: mi-kas/kover-report@v1 | |
| with: | |
| path: ${{ github.workspace }}/jindong-core/build/reports/kover/report.xml | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| title: Jindong Core Test Coverage Report | |
| update-comment: true | |
| min-coverage-overall: 0 | |
| min-coverage-changed-files: 0 |