Skip to content

[ImgBot] Optimize images #1

[ImgBot] Optimize images

[ImgBot] Optimize images #1

name: Privacy Dashboard End-to-End tests
on:
pull_request:
paths:
- 'node_modules/@duckduckgo/privacy-dashboard/**'
- 'privacy-dashboard/privacy-dashboard-api/**'
- 'privacy-dashboard/privacy-dashboard-impl/**'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
instrumentation_tests:
runs-on: ubuntu-latest
name: End-to-End tests
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Create folder
if: always()
run: mkdir apk
- name: Decode keys
uses: davidSchuppa/base64Secret-toFile-action@v2
with:
secret: ${{ secrets.FAKE_RELEASE_PROPERTIES }}
fileName: ddg_android_build.properties
destination-path: $HOME/jenkins_static/com.duckduckgo.mobile.android/
- name: Decode key file
uses: davidSchuppa/base64Secret-toFile-action@v2
with:
secret: ${{ secrets.FAKE_RELEASE_KEY }}
fileName: android
destination-path: $HOME/jenkins_static/com.duckduckgo.mobile.android/
- name: Assemble release APK
uses: gradle/gradle-build-action@v2
with:
arguments: assemblePlayRelease -Pforce-default-variant
- name: Move APK to new folder
if: always()
run: find . -name "*.apk" -exec mv '{}' apk/release.apk \;
- name: Ad click detection flows
uses: mobile-dev-inc/[email protected]
with:
api-key: ${{ secrets.MOBILE_DEV_API_KEY }}
name: ${{ github.sha }}
app-file: apk/release.apk
workspace: .maestro
include-tags: adClickTest
- name: Privacy Tests
if: always()
uses: mobile-dev-inc/[email protected]
with:
api-key: ${{ secrets.MOBILE_DEV_API_KEY }}
name: ${{ github.sha }}
app-file: apk/release.apk
workspace: .maestro
include-tags: privacyTest