SchildiChat-android/upstream_.github/workflows/tests.yml
SpiritCroc 0cb876485d Automatic upstream merge postprocessing
Change-Id: Ie2b3c8142cf8fd3fe9a042b686c8f8ba57fac7dd
2021-07-05 16:58:49 +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