Skip to content

Commit 9056ef0

Browse files
committed
New try to spot issue by simplifying tests
1 parent cda18d3 commit 9056ef0

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎.github/workflows/test_python.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ jobs:
4444
esgvoc use cmip7@1.1.0
4545
export ESGVOC_OFFLINE=TRUE
4646
esgvoc list
47-
bash launch_tests.sh
47+
python -m unittest tests/test_AOESM_historical_CMIP7/__init__.py

‎launch_tests.sh‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ function test_function(){
1919
local out_code=$?
2020
echo "Output ${out_code}" >> ${log_file}
2121
if [ ${out_code} -ne 0 ]; then
22-
cat ${log_out} >>${log_file}
2322
cat ${log_err} >>${log_file}
2423
fi
2524
rm -f ${log_out} ${log_err}
@@ -49,7 +48,7 @@ for f in $(cd tests; ls test*.py); do
4948
test_function $f
5049
done
5150

52-
for f in $(cd tests; ls test_AOESM_historical_CMIP7/__init__.py); do
51+
for f in $(cd tests; ls test*/__init__.py); do
5352
test_function $f
5453
done
5554

0 commit comments

Comments
 (0)