SchildiChat-android/upstream_.github/workflows/tests.yml
SpiritCroc 4d3f0d734e Automatic upstream merge postprocessing
Change-Id: I4ba951dbf6b6d874ac22d3f22f84bebb03f5e8bc
2021-09-09 10:59:33 +02:00

24 lines
584 B
YAML

name: Test
on:
pull_request: {}
push:
branches: [main, develop]
jobs:
unit-tests:
name: Run Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Run unit tests
run: ./gradlew clean test --stacktrace -PallWarningsAsErrors=false