Skip to content

Fix: DCMAW-10311 test the remote connected tests #199

Fix: DCMAW-10311 test the remote connected tests

Fix: DCMAW-10311 test the remote connected tests #199

name: On Pull Request
on:
pull_request:
branches:
- main
types:
- opened
- reopened
- synchronize
- ready_for_review
merge_group:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
onPullRequestJob:
env:
ANDROID_HOME: ${{ github.workspace }}/bin/androidSdk
permissions:
# Set permissions for ${{ secrets.GITHUB_TOKEN }}
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication
contents: read
packages: read
name: Verify code base when pull request is published/updated
runs-on: ubuntu-latest
# runs-on: ubuntu-20.04-16core # Larger github runner, with KVM acceleration
steps:
- name: Set env
run: |
echo "USERNAME=${{ secrets.MODULE_FETCH_TOKEN_USERNAME }}" >> $GITHUB_ENV
echo "TOKEN=${{ secrets.MODULE_FETCH_TOKEN }}" >> $GITHUB_ENV
- name: Run pull request workflow
uses: govuk-one-login/mobile-android-pipelines@3dd3a4603b806128f9da211ea261f658b734cbfb
with:
sonar_token: ${{ secrets.SONAR_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}