Skip to content

add workflow_call trigger #3

add workflow_call trigger

add workflow_call trigger #3

Workflow file for this run

name: Sherlo Tests
on:
push:
branches: [michal/eas-build-hooks]
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: sherlo-io/sherlo/.github/workflows/update_builds.yml@michal/eas-build-hooks

Check failure on line 32 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Sherlo Tests

Invalid workflow file

The workflow is not valid. .github/workflows/tests.yml (Line: 32, Col: 11): Input profile is required, but not provided while calling.
run_sherlo_sync_tests:
if: ${{ github.event.inputs.run_sherlo_sync_tests || github.event_name == 'push' }}
needs: [update_builds]
uses: sherlo-io/sherlo/.github/workflows/run_sherlo_sync.yml@michal/eas-build-hooks
with:
skip_build: true
run_sherlo_async_tests:
if: ${{ github.event.inputs.run_sherlo_async_tests || github.event_name == 'push' }}
needs: [update_builds]
uses: sherlo-io/sherlo/.github/workflows/run_sherlo_async.yml@michal/eas-build-hooks
with:
skip_build: true
run_sherlo_eas_hooks_tests:
if: ${{ github.event.inputs.run_sherlo_eas_hooks_tests || github.event_name == 'push' }}
uses: sherlo-io/sherlo/.github/workflows/run_sherlo_eas_hooks.yml@michal/eas-build-hooks