aqua/.github/workflows/e2e.yml
InversionSpaces b24fcf686f
fix(e2e): Use main branch for fcli (#987)
Use main branch
2023-11-27 13:20:13 +02:00

57 lines
1.2 KiB
YAML

name: "e2e"
on:
pull_request:
paths-ignore:
- "**.md"
- ".github/**"
- "!.github/workflows/e2e.yml"
- "!.github/workflows/snapshot.yml"
types:
- "labeled"
- "synchronize"
- "opened"
- "reopened"
push:
branches:
- "main"
paths-ignore:
- "**.md"
- ".github/**"
- "!.github/workflows/e2e.yml"
- "!.github/workflows/snapshot.yml"
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
aqua:
name: "aqua"
if: >
github.event_name == 'push' ||
contains(github.event.pull_request.labels.*.name, 'e2e')
uses: ./.github/workflows/snapshot.yml
with:
ref: ${{ github.ref }}
fcli-snapshot:
name: "fcli"
needs: aqua
uses: fluencelabs/flox/.github/workflows/snapshot.yml@main
with:
aqua-snapshots: "${{ needs.aqua.outputs.aqua-snapshots }}"
fcli:
needs: aqua
uses: fluencelabs/cli/.github/workflows/tests.yml@main
with:
aqua-snapshots: "${{ needs.aqua.outputs.aqua-snapshots }}"
registry:
needs:
- fcli-snapshot
uses: fluencelabs/registry/.github/workflows/tests.yml@main
with:
fcli-version: "${{ needs.fcli-snapshot.outputs.version }}"