2022-04-22 21:12:10 +00:00
|
|
|
name: Test Application On PR
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
inputs:
|
2022-05-06 15:03:15 +00:00
|
|
|
stack-orchestrator-ref:
|
|
|
|
description: "The branch, commit or sha from stack-orchestrator to checkout"
|
2022-04-22 21:12:10 +00:00
|
|
|
required: false
|
|
|
|
default: "main"
|
2022-06-09 21:32:46 +00:00
|
|
|
ipld-eth-beacon-db-ref:
|
|
|
|
description: "The branch, commit or sha from ipld-eth-beacon-db to checkout"
|
2022-04-22 21:12:10 +00:00
|
|
|
required: false
|
|
|
|
default: "main"
|
2022-05-12 13:52:13 +00:00
|
|
|
ssz-data-ref:
|
|
|
|
description: "The branch, commit or sha from ssz-data to checkout"
|
|
|
|
required: false
|
|
|
|
default: "main"
|
2022-04-22 21:12:10 +00:00
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- "!**.md"
|
2022-04-25 14:47:05 +00:00
|
|
|
- "!.gitignore"
|
2022-04-22 21:12:10 +00:00
|
|
|
- "!LICENSE"
|
|
|
|
- "!.github/workflows/**"
|
|
|
|
- ".github/workflows/on-pr.yml"
|
2022-06-03 16:47:13 +00:00
|
|
|
- ".github/workflows/tests.yml"
|
2022-04-25 14:47:05 +00:00
|
|
|
- "**"
|
2022-12-06 15:28:16 +00:00
|
|
|
#schedule:
|
|
|
|
# - cron: '0 13 * * *' # Must be single quotes!!
|
2022-04-22 21:12:10 +00:00
|
|
|
|
|
|
|
jobs:
|
2022-06-03 16:47:13 +00:00
|
|
|
trigger-tests:
|
2022-06-09 21:32:46 +00:00
|
|
|
if: github.event_name != 'schedule'
|
|
|
|
uses: ./.github/workflows/generic-testing.yml
|
2022-06-03 16:47:13 +00:00
|
|
|
with:
|
|
|
|
stack-orchestrator-ref: ${{ github.event.inputs.stack-orchestrator-ref }}
|
2022-06-09 21:32:46 +00:00
|
|
|
ipld-eth-beacon-db-ref: ${{ github.event.inputs.ipld-eth-beacon-db-ref }}
|
2022-06-03 16:47:13 +00:00
|
|
|
ssz-data-ref: ${{ github.event.inputs.ssz-data-ref }}
|
|
|
|
secrets:
|
|
|
|
GHA_KEY: ${{secrets.GHA_KEY}}
|
2022-06-09 21:32:46 +00:00
|
|
|
system-testing:
|
|
|
|
uses: ./.github/workflows/system-tests.yml
|
|
|
|
with:
|
|
|
|
stack-orchestrator-ref: ${{ github.event.inputs.stack-orchestrator-ref }}
|
|
|
|
ipld-eth-beacon-db-ref: ${{ github.event.inputs.ipld-eth-beacon-db-ref }}
|
|
|
|
secrets:
|
|
|
|
GHA_KEY: ${{secrets.GHA_KEY}}
|
|
|
|
BC_ADDRESS: ${{secrets.BC_ADDRESS}}
|