Skip to content

Commit

Permalink
feat: Add unit test check to PR workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
albendz committed Oct 18, 2024
1 parent 09a169b commit 665eae2
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pr_unit_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: pr_unit_test
on:
pull_request:
branches:
- main
types: [opened, reopened, synchronize]

jobs:
ktlint:
runs-on: ubuntu-latest
name: Run unit tests

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup JDK environment
uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: 17

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Run tests
run: ./gradlew test

0 comments on commit 665eae2

Please sign in to comment.