mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-23 09:56:00 +03:00
6443ae4c7d
Change-Id: I042bcc5e6ed6a00473f32d1270b5b620c69a5691
23 lines
584 B
YAML
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
|