1
0
mirror of synced 2026-01-22 00:06:56 -05:00
Files
airbyte/airbyte-connector-builder-server/run_tests.sh
Alexandre Girard e93c8f78a9 Fail airbytePythonDockerApply if any steps fails (#20217)
* Fail if any steps fails

* Update other script too
2023-01-17 16:00:54 +00:00

16 lines
287 B
Bash
Executable File

set -e
cd $1
# Fail script on failing command
set -e
# Install dependencies
pip install -e .
pip install -e '.[main]'
pip install -e '.[tests]'
# Run the tests
python -m coverage run -m pytest unit_tests -c pytest.ini
python -m coverage run -m pytest integration_tests -c pytest.ini