35 lines
779 B
YAML
35 lines
779 B
YAML
name: Master PR CI
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ master ]
|
|
types: [ opened, reopened, synchronize, ready_for_review, converted_to_draft ]
|
|
merge_group:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
if: github.event.pull_request.draft == false
|
|
uses: ./.github/workflows/generate-build-and-run-unit-tests.yml
|
|
with:
|
|
environment: qa
|
|
type: debug
|
|
output: APK
|
|
secrets: inherit
|
|
|
|
|
|
build-size-difference:
|
|
uses: ./.github/workflows/apk-size-difference.yml
|
|
needs: [ build ]
|
|
secrets: inherit
|
|
|
|
checkstyle:
|
|
if: github.event.pull_request.draft == false
|
|
uses: ./.github/workflows/spotless.yml
|
|
with:
|
|
action: check
|
|
secrets: inherit
|