Skip to content

fix test name

fix test name #3

name: "(▶) E2E Test"
on:
push:
env:
CI: true
LANG: en_US.UTF-8
API_LEVEL: 29
concurrency:
group: ci-e2e-test-${{ github.ref }}
cancel-in-progress: true
jobs:
uploadApk:
name: 'Upload apk'
runs-on: macos-latest-xl
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: "0"
- name: Setup
uses: ./.github/actions/setup
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Build debug test apk
run: ./gradlew :embedded:assembleDebug -Pandroid.injected.signing.store.file="${{ github.workspace }}/.github/test-jks/debug.keystore" -Pandroid.injected.signing.store.password="android" -Pandroid.injected.signing.key.alias="androiddebugkey" -Pandroid.injected.signing.key.password="android"
- name: Build release test apk
run: ./gradlew :embedded:assembleRelease -Pandroid.injected.signing.store.file="${{ github.workspace }}/.github/test-jks/release.keystore" -Pandroid.injected.signing.store.password="android" -Pandroid.injected.signing.key.alias="androidreleasekey" -Pandroid.injected.signing.key.password="android"
- name: Upload a Assemble Debug Artifact
uses: actions/[email protected]
with:
name: test-debug.apk
path: embedded/build/outputs/apk/debug/embedded-debug.apk
- name: Upload a Assemble Release Artifact
uses: actions/[email protected]
with:
name: test-release.apk
path: embedded/build/outputs/apk/release/embedded-release.apk