Skip to content

[DIA-2151] Removed singleShotPM from ConsentActionImpl #1662

[DIA-2151] Removed singleShotPM from ConsentActionImpl

[DIA-2151] Removed singleShotPM from ConsentActionImpl #1662

Workflow file for this run

name: Test
on:
push:
branches: [ develop, v7 ]
paths:
- '!README.md'
- '!release_note.txt'
# - '!samples/nativemessage/*'
pull_request:
branches: [ develop, v7 ]
# paths:
# - '!README.md'
# - '!samples/nativemessage/*'
jobs:
unit-test-cmplib:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: creating local.properties # this file is normally added to .gitignore
run: touch local.properties
- name: Cache multiple paths
uses: actions/cache@v2
with:
path: |
~/cache
!~/cache/exclude
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Build test artifact
run: ./gradlew cmplibrary:build
- name: Unit Tests cmplibrary
run: ./gradlew cmplibrary:test
integration-tests-cmplib:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: creating local.properties # this file is normally added to .gitignore
run: touch local.properties
- name: Cache multiple paths
uses: actions/cache@v2
with:
path: |
~/cache
!~/cache/exclude
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Integration cmplibrary UI tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 27
script: ./gradlew cmplibrary:connectedAndroidTest