Skip to content

Manual test (ubuntu, ContextCpu) #2

Manual test (ubuntu, ContextCpu)

Manual test (ubuntu, ContextCpu) #2

# 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
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

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

View workflow run for this annotation

GitHub Actions / Manual test (self-hosted)

Invalid workflow file

The workflow is not valid. In .github/workflows/manual_test_sh.yaml (Line: 58, Col: 11): Error from called workflow szymonlopaciuk/xsuite/.github/workflows/test_sh.yaml@3f6fdfd5dc1f5eef25c77bceaaa68c91fb089b81 (Line: 80, Col: 34): Unrecognized named-value: 'xsuite_kernels_location'. Located at position 1 within expression: xsuite_kernels_location
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 }}
test_contexts: ${{ inputs.test_contexts }}
platform: ${{ inputs.platform }}
suites: ${{ inputs.suites }}