Manual platform test #20
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
name: Manual platform test | |
on: | |
workflow_dispatch: | |
inputs: | |
test-flags: | |
description: Optional pytest flags to be passed to the `PYTEST_FLAGS` argument `make platform.test` | |
default: "" # for the k8s test suite: "-m standard", "-m ddp" etc | |
required: false | |
type: choice | |
options: | |
- "" | |
- "-m standard" | |
- "-m ddp" | |
- "-m delete_pipelines" | |
- "-m delete_flows" | |
python-version: | |
description: The python version of the sdk | |
default: "3.10" # "3.11" | |
required: false | |
type: choice | |
options: | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
deprovision-when-finished: | |
description: Whether to deprovision platform infrastructure after testing regardless of pass/fail | |
default: false | |
required: false | |
type: boolean | |
jobs: | |
k8s-test: | |
uses: ./.github/workflows/test.yaml | |
secrets: inherit | |
with: | |
test-suite: k8s | |
test-flags: ${{ inputs.test-flags }} | |
python-version: ${{ inputs.python-version }} | |
deprovision-when-finished: ${{ inputs.deprovision-when-finished }} |