Sherlo Tests #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sherlo Tests | |
on: | |
workflow_dispatch: | |
inputs: | |
skip_build: | |
description: 'Skip the build steps' | |
required: false | |
default: false | |
type: boolean | |
run_sherlo_sync_tests: | |
description: 'Sherlo Sync upload tests' | |
required: true | |
type: boolean | |
default: true | |
run_sherlo_async_tests: | |
description: 'Sherlo Async upload tests' | |
required: true | |
type: boolean | |
default: true | |
run_sherlo_eas_hooks_tests: | |
description: 'Sherlo EAS hooks tests' | |
required: true | |
type: boolean | |
default: true | |
jobs: | |
update_builds: | |
if: ${{ !github.event.inputs.skip_build || github.event_name == 'push' }} | |
uses: ./.github/workflows/update_builds.yml | |
secrets: inherit | |
with: | |
profile: 'preview' | |
run_sherlo_sync_tests: | |
if: ${{ github.event.inputs.run_sherlo_sync_tests || github.event_name == 'push' }} | |
needs: [update_builds] | |
uses: ./.github/workflows/run_sherlo_sync.yml | |
secrets: inherit | |
with: | |
skip_build: true | |
run_sherlo_async_tests: | |
if: ${{ github.event.inputs.run_sherlo_async_tests || github.event_name == 'push' }} | |
needs: [update_builds] | |
uses: ./.github/workflows/run_sherlo_async.yml | |
secrets: inherit | |
with: | |
skip_build: true | |
run_sherlo_eas_hooks_tests: | |
if: ${{ github.event.inputs.run_sherlo_eas_hooks_tests || github.event_name == 'push' }} | |
uses: ./.github/workflows/run_sherlo_eas_hooks.yml | |
secrets: inherit |