ci: add disable selenium toggle to build workflow
This commit is contained in:
parent
dd3b9bd2f9
commit
e530e0af6a
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
@ -139,6 +139,7 @@ jobs:
|
|||
needs: [prepare]
|
||||
with:
|
||||
ignoreLowerCoverage: ${{ github.event.inputs.ignoreLowerCoverage == 'true' }}
|
||||
skipSelenium: true
|
||||
targetBaseVersion: ${{ needs.prepare.outputs.base_image_version }}
|
||||
|
||||
# -----------------------------------------------------------------
|
||||
|
|
9
.github/workflows/tests.yml
vendored
9
.github/workflows/tests.yml
vendored
|
@ -8,6 +8,11 @@ on:
|
|||
default: false
|
||||
required: true
|
||||
type: boolean
|
||||
skipSelenium:
|
||||
description: 'Skip Selenium Tests'
|
||||
default: false
|
||||
required: true
|
||||
type: boolean
|
||||
targetBaseVersion:
|
||||
description: 'Target Base Image Version'
|
||||
default: latest
|
||||
|
@ -47,6 +52,10 @@ jobs:
|
|||
echo "Model changes without migrations found."
|
||||
exit 1
|
||||
fi
|
||||
if [[ "x${{ inputs.skipSelenium }}" == "xtrue" ]]; then
|
||||
echo "Disable selenium tests..."
|
||||
sudo rm /usr/bin/geckodriver
|
||||
fi
|
||||
echo "Running tests..."
|
||||
if [[ "x${{ inputs.ignoreLowerCoverage }}" == "xtrue" ]]; then
|
||||
echo "Lower coverage failures will be ignored."
|
||||
|
|
Loading…
Reference in a new issue