Skip to content

Support/merge queue develop test #6614

Support/merge queue develop test

Support/merge queue develop test #6614

name: "[PR] Build and Test"
on:
merge_group:
types: [checks_requested]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name != 'develop' && github.ref || github.run_id }}
cancel-in-progress: true
permissions:
id-token: write
contents: read
pull-requests: write
jobs:
determine-affected:
name: "Turbo Affected"
if: true
uses: LedgerHQ/ledger-live/.github/workflows/turbo-affected-reusable.yml@support/merge-queue-develop
with:
head_branch: ${{ github.event.pull_request.head.ref || github.event.merge_group.head_ref }}
base_branch: ${{ github.event.pull_request.base.ref || github.event.merge_group.base_ref }}
# LLD
build-desktop:
name: "Build Desktop"
needs: determine-affected
if: true
uses: LedgerHQ/ledger-live/.github/workflows/build-desktop-reusable.yml@support/merge-queue-develop
secrets: inherit
with:
# trigger-event-type: ${{ github.event_name }}
trigger-event-type: ${{ 'merge_group' }}
test-desktop:
name: "Test Desktop"
needs: determine-affected
if: true
uses: LedgerHQ/ledger-live/.github/workflows/test-desktop-reusable.yml@support/merge-queue-develop
secrets: inherit
with:
# trigger-event-type: ${{ github.event_name }}
trigger-event-type: ${{ 'merge_group' }}
# LLM
build-mobile:
name: "Build Mobile"
needs: determine-affected
if: true
uses: LedgerHQ/ledger-live/.github/workflows/build-mobile-reusable.yml@support/merge-queue-develop
secrets: inherit
with:
# trigger-event-type: ${{ github.event_name }}
trigger-event-type: ${{ 'merge_group' }}
test-mobile:
name: "Test Mobile"
needs: determine-affected
if: true
uses: LedgerHQ/ledger-live/.github/workflows/test-mobile-reusable.yml@support/merge-queue-develop
secrets: inherit
test-mobile-e2e:
name: "Test Mobile E2E"
needs: determine-affected
if: true
uses: LedgerHQ/ledger-live/.github/workflows/test-mobile-e2e-reusable.yml@support/merge-queue-develop
secrets: inherit
with:
# trigger-event-type: ${{ github.event_name }}
trigger-event-type: ${{ 'merge_group' }}
# Tests
test-libraries:
name: "Test Libraries"
needs: determine-affected
if: true
uses: LedgerHQ/ledger-live/.github/workflows/test-libs-reusable.yml@support/merge-queue-develop
secrets: inherit
with:
# trigger-event-type: ${{ github.event_name }}
trigger-event-type: ${{ 'merge_group' }}
test-design-system:
name: "Test Design System"
needs: determine-affected
if: true
uses: LedgerHQ/ledger-live/.github/workflows/test-design-system-reusable.yml@support/merge-queue-develop
secrets: inherit
build-web-tools:
name: "Build Web Tools"
needs: determine-affected
if: true
uses: LedgerHQ/ledger-live/.github/workflows/build-web-tools-reusable.yml@support/merge-queue-develop
secrets: inherit
test-cli:
name: "Test CLI"
needs: determine-affected
if: true
uses: LedgerHQ/ledger-live/.github/workflows/test-cli-reusable.yml@support/merge-queue-develop
secrets: inherit
# Final Check required
ok:
name: "OK"
needs:
- build-desktop
- test-desktop
- build-mobile
- test-mobile
- test-mobile-e2e
- test-libraries
- test-design-system
- build-web-tools
- test-cli
runs-on: ubuntu-22.04
if: true
steps:
- name: Check result
if: true
run: exit 1