Skip to content

Commit

Permalink
ci: Fix file not found in run_unittests
Browse files Browse the repository at this point in the history
ERROR: file or directory not found: tests/frameworks/test_gevent.py tests/frameworks/test_starlette.py
Signed-off-by: Ferenc Géczi <ferenc.geczi@ibm.com>
  • Loading branch information
Ferenc- committed Mar 18, 2024
1 parent cd2b22f commit b61a35e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .tekton/run_unittests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ default)
*)
export REQUIREMENTS='requirements.txt' ;;
esac
export TESTS='tests' ;;
export TESTS=('tests') ;;
cassandra)
export REQUIREMENTS='requirements-cassandra.txt'
export TESTS='tests/clients/test_cassandra-driver.py'
export TESTS=('tests/clients/test_cassandra-driver.py')
export CASSANDRA_TEST='true' ;;
couchbase)
export REQUIREMENTS='requirements-couchbase.txt'
export TESTS='tests/clients/test_couchbase.py'
export TESTS=('tests/clients/test_couchbase.py')
export COUCHBASE_TEST='true' ;;
gevent_starlette)
export REQUIREMENTS='requirements-gevent-starlette.txt'
export TESTS='tests/frameworks/test_gevent.py tests/frameworks/test_starlette.py'
export TESTS=('tests/frameworks/test_gevent.py' 'tests/frameworks/test_starlette.py')
export GEVENT_STARLETTE_TEST='true' ;;
*)
echo "ERROR \$TEST_CONFIGURATION='${TEST_CONFIGURATION}' is unsupported " \
Expand Down Expand Up @@ -73,4 +73,4 @@ coverage run \
--data-file=".coverage-${PYTHON_VERSION}-${TEST_CONFIGURATION}" \
--module \
pytest \
--verbose --junitxml=test-results "${TESTS}" # pytest options (not coverage options anymore)
--verbose --junitxml=test-results "${TESTS[@]}" # pytest options (not coverage options anymore)

0 comments on commit b61a35e

Please sign in to comment.