Skip to content

Merge pull request #85 from treasure-data/dependabot/github_actions/a… #27

Merge pull request #85 from treasure-data/dependabot/github_actions/a…

Merge pull request #85 from treasure-data/dependabot/github_actions/a… #27

Workflow file for this run

name: Build and test
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 1.8
uses: actions/setup-java@v4
with:
java-version: 8
distribution: "zulu"
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with testing
run: ./gradlew check --console rich --info
- uses: actions/upload-artifact@v4
if: always()
with:
name: tests
path: ./build/reports/tests/test
- name: JaCoCo test report
if: success()
run: ./gradlew jacocoTestReport
- uses: actions/upload-artifact@v4
if: success()
with:
name: jacoco
path: ./build/reports/jacoco/test