Debian Codegraph @

debian/tests/builtin-tests

raw
1 #!/bin/bash
2
3 # https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
4 set -e
5
6 PYTEST_KEYWORDS="not test_basic_workflow and not test_diff_nbs and not test_execution_jupytext"
7 # PYTEST_KEYWORDS+=" and not test_execution and not test_execution_timeout_config and not test_execution_timeout_metadata and not test_execution_allow_errors_config and not test_run_in_temp_false"
8 # PYTEST_KEYWORDS+=" and not test_base and not test_add_nbs_to_project and not test_show_project_record and not test_project_execute and not test_project_merge and not test_project_invalidate"
9
10 for python_version in $(py3versions -s); do
11 echo "Python version = ${python_version}"
12 ls -al
13 ${python_version} -m pytest tests -k "${PYTEST_KEYWORDS}"
14 rm -rf .pytest_cache
15 done
16
17 echo "Successful"