LP-1158: Add support for base64 encoded file data, Classify and Split API methods #19
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: Test | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up JDK 16 | |
| uses: actions/setup-java@v2 | |
| with: | |
| java-version: '16' | |
| distribution: 'adopt' | |
| - name: Build with Maven | |
| run: mvn -B package --file pom.xml | |
| - name: JUnit 5 tests | |
| run: mvn -B test --file pom.xml | |
| - name: Generate JaCoCo Badge | |
| id: jacoco | |
| uses: cicirello/jacoco-badge-generator@v2.3.0 | |
| with: | |
| generate-branches-badge: true | |
| - name: Log coverage percentage | |
| run: | | |
| echo "coverage = ${{ steps.jacoco.outputs.coverage }}" | |
| echo "branch coverage = ${{ steps.jacoco.outputs.branches }}" |