SchildiChat-android/upstream_.github/workflows/tests.yml
SpiritCroc fc8be0c8c5 Automatic upstream merge postprocessing
Change-Id: I76c44254c911cca11449d24928721ef0e01c5f3e
2021-07-19 16:15:38 +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