Skip to content

Commit e530e0a

Browse files
authored
ci: add disable selenium toggle to build workflow
1 parent dd3b9bd commit e530e0a

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ jobs:
139139
needs: [prepare]
140140
with:
141141
ignoreLowerCoverage: ${{ github.event.inputs.ignoreLowerCoverage == 'true' }}
142+
skipSelenium: true
142143
targetBaseVersion: ${{ needs.prepare.outputs.base_image_version }}
143144

144145
# -----------------------------------------------------------------

.github/workflows/tests.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
default: false
99
required: true
1010
type: boolean
11+
skipSelenium:
12+
description: 'Skip Selenium Tests'
13+
default: false
14+
required: true
15+
type: boolean
1116
targetBaseVersion:
1217
description: 'Target Base Image Version'
1318
default: latest
@@ -47,6 +52,10 @@ jobs:
4752
echo "Model changes without migrations found."
4853
exit 1
4954
fi
55+
if [[ "x${{ inputs.skipSelenium }}" == "xtrue" ]]; then
56+
echo "Disable selenium tests..."
57+
sudo rm /usr/bin/geckodriver
58+
fi
5059
echo "Running tests..."
5160
if [[ "x${{ inputs.ignoreLowerCoverage }}" == "xtrue" ]]; then
5261
echo "Lower coverage failures will be ignored."

0 commit comments

Comments
 (0)