mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
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:
parent
cdd3006094
commit
08538153a5
18
.github/workflows/integration.yml
vendored
18
.github/workflows/integration.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user