Skip to content

Commit

Permalink
Merge pull request #82 from treasure-data/use_github_actions
Browse files Browse the repository at this point in the history
Use GitHub actions
  • Loading branch information
minidragon88 authored May 19, 2023
2 parents 7d193b5 + ba7d341 commit 6f7874b
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .circleci/config.yml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build and test

on: push

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up JDK 1.8
uses: actions/setup-java@v3
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@v3
if: always()
with:
name: tests
path: ./build/reports/tests/test

- name: JaCoCo test report
if: success()
run: ./gradlew jacocoTestReport

- uses: actions/upload-artifact@v3
if: success()
with:
name: jacoco
path: ./build/reports/jacoco/test

0 comments on commit 6f7874b

Please sign in to comment.