Skip to content

Commit 094d215

Browse files
committed
fix(ci): dynamically check if unit-3.9 session exists before running
1 parent d971bcf commit 094d215

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

ci/run_single_test.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,13 @@ case ${TEST_TYPE} in
7979
retval=$?
8080
;;
8181
"3.9")
82-
nox -s unit-3.9
83-
retval=$?
82+
if nox --list-sessions | grep -q "unit-3.9"; then
83+
nox -s unit-3.9
84+
retval=$?
85+
else
86+
echo "Skipping unit-3.9 as it is not supported by this package."
87+
retval=0
88+
fi
8489
;;
8590
"3.10")
8691
nox -s unit-3.10

0 commit comments

Comments
 (0)