Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ inputs:
description: "Whether to checkout submodules, value can be 'true', 'recursive', or 'false'"
required: false
default: "true"
run_prebuild:
description: "Whether to run the pre-build task after installation and before running any tests. Value can be 'true', or 'false'"
required: false
default: "false"

runs:
using: "composite"
Expand All @@ -67,6 +71,11 @@ runs:
python -m pip install --upgrade pip
pip install -e ".[dev]"

if [[ ${{ inputs.run_prebuild }} = "true" ]]; then
echo Running pre-build task
invoke pre-build
fi;

if [[ ${{ inputs.invoke_lint }} == "true" ]]; then
invoke lint
fi;
Expand Down Expand Up @@ -127,6 +136,11 @@ runs:
exit 1
fi

if [[ ${{ inputs.run_prebuild }} = "true" ]]; then
echo Running pre-build task
invoke pre-build
fi;

if [[ ${{ inputs.invoke_lint }} = "true" ]]; then
invoke lint
fi;
Expand Down