- name: Install Revyl CLI
run: curl -fsSL https://revyl.com/install.sh | sh
- name: Upload Build
id: upload
run: |
revyl build upload \
--file ./build/app.apk \
--app "$REVYL_ANDROID_APP_ID" \
--platform android \
--version "$REVYL_PR_HEAD_SHA" \
--yes \
--json
env:
REVYL_API_KEY: ${{ secrets.REVYL_API_KEY }}
REVYL_ANDROID_APP_ID: ${{ vars.REVYL_ANDROID_APP_ID }}
REVYL_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
- name: Run Tests
run: revyl workflow run smoke-tests --android-app "$REVYL_ANDROID_APP_ID"
env:
REVYL_API_KEY: ${{ secrets.REVYL_API_KEY }}
REVYL_ANDROID_APP_ID: ${{ vars.REVYL_ANDROID_APP_ID }}