Skip to content

Commit c03814e

Browse files
committed
removed python3.7 from tests; improved run script
1 parent 362dfcf commit c03814e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: [3.7,3.8,3.11]
16+
python-version: [3.8,3.10,3.11]
1717

1818
steps:
1919

tests/run

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ runner=$1
55
dir=${BASH_SOURCE%/*}
66
cd $dir/..
77

8-
failed=0
8+
failed=()
99
for f in `ls ./tests/*/*py`
1010
do
1111
echo "Running: ${runner} $f"
@@ -17,12 +17,13 @@ do
1717
echo "OK"
1818
else
1919
echo "ERROR $f"
20-
((failed++))
20+
failed+=($f)
2121
fi
2222
done
2323

24-
if ((failed != 0))
24+
if ((${#failed[@]} != 0))
2525
then
26+
echo ${failed[@]}
2627
exit 1
2728
else
2829
echo "All tests passed"

0 commit comments

Comments
 (0)