SchildiChat-android/.github/workflows/tests.yml
SpiritCroc c3f3e13d26 [TMP] Automatic upstream merge preparation
Change-Id: I980573f83c23136057e6cf47093567d89a023458
2021-07-30 18:33:30 +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