Skip to content

Lint and Tests

Lint and Tests #29

Workflow file for this run

name: Lint and Tests
run-name: Lint and Tests
on:
push:
branches: [master]
pull_request:
branches: ['**']
jobs:
Linting-and-Testing:
runs-on: ubuntu-latest
steps:
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- name: Setup JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'corretto'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
- name: Linting
run: ./gradlew ciLint
- name: Unit Tests
run: ./gradlew checkTestCoverage