SchildiChat-android/.github/workflows/tests.yml
SpiritCroc 6443ae4c7d [TMP] Automatic upstream merge preparation
Change-Id: I042bcc5e6ed6a00473f32d1270b5b620c69a5691
2021-08-12 09:02:53 +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