Add xsuite-kernels to wfs #1
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
# This is a test workflow that is manually triggered | ||
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 }} |