Skip to content

Add xsuite-kernels to wfs #1

Add xsuite-kernels to wfs

Add xsuite-kernels to wfs #1

# This is a test workflow that is manually triggered

Check failure on line 1 in .github/workflows/manual_test_sh.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/manual_test_sh.yaml

Invalid workflow file

you may only define up to 10 `inputs` for a `workflow_dispatch` event
name: Manual test (self-hosted)
run-name: Manual test (${{ inputs.platform }}, ${{ inputs.test_contexts }})
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:
# Inputs the workflow accepts.
# Specify branches using the refspec-like syntax: <user>:<branch>
inputs:
xobjects_location:
description: 'xobjects branch'
default: 'xsuite:main'
required: true
xdeps_location:
description: 'xdeps branch'
default: 'xsuite:main'
required: true
xpart_location:
description: 'xpart branch'
default: 'xsuite:main'
required: true
xtrack_location:
description: 'xtrack branch'
default: 'xsuite:main'
required: true
xfields_location:
description: 'xfields branch'
default: 'xsuite:main'
required: true
xmask_location:
description: 'xmask branch'
default: 'xsuite:main'
required: true
xcoll_location:
description: 'xcoll branch'
default: 'xsuite:main'
required: true
xsuite_kernels_location:
description: 'xsuite-kernels branch'
default: 'xsuite:main'
required: true
test_contexts:
description: test contexts
default: 'ContextCpu;ContextCpu:auto;ContextCupy;ContextPyopencl'
required: false
platform:
description: platform
default: 'ubuntu'
required: true
suites:
description: test suites (JSON array string)
required: true
type: string
default: '["xobjects", "xdeps", "xpart", "xtrack", "xfields", "xmask", "xcoll"]'
# This workflow calls the test_sh.yaml workflow passing the specified
# branches as inputs
jobs:
run-tests-manual-sh:
uses: ./.github/workflows/test_sh.yaml
secrets: inherit
with:
xobjects_location: ${{ inputs.xobjects_location }}
xdeps_location: ${{ inputs.xdeps_location }}
xpart_location: ${{ inputs.xpart_location }}
xtrack_location: ${{ inputs.xtrack_location }}
xfields_location: ${{ inputs.xfields_location }}
xmask_location: ${{ inputs.xmask_location }}
xcoll_location: ${{ inputs.xcoll_location }}
xsuite_kernels_location: ${{ inputs.xsuite_kernels_location }}
test_contexts: ${{ inputs.test_contexts }}
platform: ${{ inputs.platform }}
suites: ${{ inputs.suites }}