Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Features screen + linters fine-tune #512

Features screen + linters fine-tune

Features screen + linters fine-tune #512

Workflow file for this run

name: Unit tests
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events
push:
branches:
- main
pull_request:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout GIT
uses: actions/checkout@v4
- name: Setup Java SDK
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '18'
#----------------------------------------------------
#Optimization
- name: Enable Gradle Wrapper caching (optmization)
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
#---------------------------------------------------
#Test
- name: Run unit tests
run: ./gradlew testDebug
#------------------------------------------------------------------