mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 03:52:15 +00:00
be831d09f7
* [WIP] * Update skip-list * Update ci_config.json * Do not sync inserts for test * Fix more tests * Fix another test * Enable one more test * More fixed tests * More test fixes * Do not absolutize server path for now * More test fixes * Unset CLICKHOUSE_LOG_COMMENT where necessary * Remove debugging set -e * Fix more tests * Fix test reference * Fix style check
32 lines
976 B
Docker
32 lines
976 B
Docker
# docker build -t yandex/clickhouse-stateless-pytest .
|
|
FROM yandex/clickhouse-test-base
|
|
|
|
RUN apt-get update -y && \
|
|
apt-get install -y --no-install-recommends \
|
|
python3-pip \
|
|
python3-setuptools \
|
|
python3-wheel \
|
|
brotli \
|
|
netcat-openbsd \
|
|
zstd
|
|
|
|
RUN python3 -m pip install \
|
|
wheel \
|
|
pytest \
|
|
pytest-html \
|
|
pytest-json \
|
|
pytest-randomly \
|
|
pytest-rerunfailures \
|
|
pytest-timeout \
|
|
pytest-xdist \
|
|
pandas \
|
|
numpy \
|
|
scipy
|
|
|
|
CMD dpkg -i package_folder/clickhouse-common-static_*.deb; \
|
|
dpkg -i package_folder/clickhouse-common-static-dbg_*.deb; \
|
|
dpkg -i package_folder/clickhouse-server_*.deb; \
|
|
dpkg -i package_folder/clickhouse-client_*.deb; \
|
|
dpkg -i package_folder/clickhouse-test_*.deb; \
|
|
python3 -m pytest /usr/share/clickhouse-test/queries -n $(nproc) --reruns=1 --timeout=600 --json=test_output/report.json --html=test_output/report.html --self-contained-html
|