Skip to content

Commit

Permalink
Add a GitHub Actions workflow to run tests and lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
chimbori committed Sep 30, 2023
1 parent 541946f commit 66178b1
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Run Tests

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Checkout Submodules
uses: actions/checkout@v3

- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1

- name: Run Lint
run: ./gradlew lint --console plain

- name: Run Unit Tests
run: ./gradlew test --console plain

0 comments on commit 66178b1

Please sign in to comment.