6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-22 13:33:07 +01:00

Improvement to not run replication tests in docker.

This commit is contained in:
Adriano dos Santos Fernandes 2023-12-21 08:35:31 -03:00
parent 60e5621fa2
commit da9ea927c8
3 changed files with 4 additions and 4 deletions

View File

@ -39,4 +39,4 @@ ENV PATH=/opt/firebird/bin:$PATH
ENV TERMINFO_DIRS=/lib/terminfo ENV TERMINFO_DIRS=/lib/terminfo
ENV LD_LIBRARY_PATH=/opt/firebird/lib ENV LD_LIBRARY_PATH=/opt/firebird/lib
CMD /qa/docker/run.sh ENTRYPOINT ["/qa/docker/run.sh"]

View File

@ -14,7 +14,6 @@ pytest \
-vv \ -vv \
--tb=long \ --tb=long \
--basetemp=/tmp/pytest-tmp \ --basetemp=/tmp/pytest-tmp \
--timeout 250 \
--md-report \ --md-report \
--md-report-flavor gfm \ --md-report-flavor gfm \
--md-report-verbose 1 \ --md-report-verbose 1 \
@ -22,4 +21,5 @@ pytest \
--md-report-output /qa-out/md_report.md \ --md-report-output /qa-out/md_report.md \
--ignore=tests/functional/replication \ --ignore=tests/functional/replication \
--ignore=tests/functional/basic/isql/test_08.py \ --ignore=tests/functional/basic/isql/test_08.py \
./tests/ -m "not replication" \
"$@"

View File

@ -22,4 +22,4 @@ fi
docker build --build-arg UID=$(id -u) --build-arg GID=$(id -g) --progress=plain -t firebird-qa $THIS_DIR docker build --build-arg UID=$(id -u) --build-arg GID=$(id -g) --progress=plain -t firebird-qa $THIS_DIR
mkdir -p $FBQA_OUT/tests mkdir -p $FBQA_OUT/tests
docker run --user $(id -u) --rm -v `realpath $FBQA_OUT`:/qa-out -v `realpath $FBQA_OUT/tests`:/qa-run/out/tests -v `realpath $THIS_DIR`:/qa -v `realpath $FBQA_INSTALLER`:/firebird-installer.tar.gz firebird-qa docker run --user $(id -u) --rm -v `realpath $FBQA_OUT`:/qa-out -v `realpath $FBQA_OUT/tests`:/qa-run/out/tests -v `realpath $THIS_DIR`:/qa -v `realpath $FBQA_INSTALLER`:/firebird-installer.tar.gz firebird-qa "$@"