Skip to content

Commit

Permalink
fix: verification of the python openshift requirement
Browse files Browse the repository at this point in the history
The unit-tests.sh script may fail at an advanced stage if the
python openShift module is not installed. Failing at the initial
step alerts the user to this requirement.

Signed-off-by: Nestor Acuna Blanco <[email protected]>
  • Loading branch information
nestoracunablanco committed Jul 30, 2024
1 parent 73c6fa0 commit f0f586b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions automation/unit-tests.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/bin/bash
set -ex

# dependency check
pip show -q openshift

#syntax check
templates=$(ls dist/templates/*)
namespace="kubevirt"
Expand Down

0 comments on commit f0f586b

Please sign in to comment.