Skip to content

Manual test (GitHub, CPU) #63

Manual test (GitHub, CPU)

Manual test (GitHub, CPU) #63

# This is a test workflow that is manually triggered
name: Manual test (GitHub, CPU)
# 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
precompile_kernels:
description: 'precompile kernels?'
type: boolean
default: false
required: true
xobjects_test_contexts:
description: xobjects test contexts
default: "ContextCpu;ContextCpu:auto"
required: true
# This workflow calls the test_gh.yaml workflow passing the specified
# branches as inputs
jobs:
run-tests-manual-gh:
uses: ./.github/workflows/test_gh.yaml
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 }}
precompile_kernels: ${{ inputs.precompile_kernels }}