Skip to content

Commit

Permalink
chore(github): enable unittest actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hufman committed Jun 19, 2024
1 parent 573fead commit 50a150d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build_commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@ name: "Build Commit"
on: push

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/setup-java@v3.10.0
with:
distribution: temurin
java-version: 17

- uses: gradle/gradle-build-action@v2.4.2
- run: gradle test

build:
runs-on: ubuntu-latest
steps:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/build_pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@ name: "Build Pull Request"
on: pull_request

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/setup-java@v3.10.0
with:
distribution: temurin
java-version: 17

- uses: gradle/gradle-build-action@v2.4.2
- run: gradle test

build:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 50a150d

Please sign in to comment.