SchildiChat-android/upstream_.github/workflows/tests.yml
SpiritCroc c01142b813 Automatic upstream merge postprocessing
Change-Id: I1c0d40ef25bef54205bb21ef0a9f03a12b427b83
2021-06-02 17:49:37 +02:00

23 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