Temporary add build of Android tests, which cannot be run on the CI right now, but they need to at least compile

This commit is contained in:
Benoit Marty 2021-09-03 10:29:22 +02:00
parent cdd3006094
commit 08538153a5

View file

@ -6,6 +6,24 @@ on:
branches: [ main, develop ] branches: [ main, develop ]
jobs: jobs:
# Temporary add build of Android tests, which cannot be run on the CI right now, but they need to at least compile
# So it will be mandatory for this action to be successful on every PRs
compile-android-test:
name: Compile Android 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: Compile Android tests
run: ./gradlew clean assembleAndroidTest --stacktrace -PallWarningsAsErrors=false
integration-tests: integration-tests:
name: Integration Tests (Synapse) name: Integration Tests (Synapse)
runs-on: ubuntu-latest runs-on: ubuntu-latest