From e938bac92abc38fed533ef73520c92c746669799 Mon Sep 17 00:00:00 2001 From: signedav Date: Fri, 6 Dec 2024 11:56:50 +0100 Subject: [PATCH] test readme --- tests/README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/README.md b/tests/README.md index 64ddc6e..d201ad5 100644 --- a/tests/README.md +++ b/tests/README.md @@ -6,13 +6,7 @@ with a database, so your own postgres installation is not affected at all. To run the tests, go to the main directory of the project and do -```sh -export QGIS_TEST_VERSION=latest # See https://hub.docker.com/r/qgis/qgis/tags/ -export GITHUB_WORKSPACE=$PWD # only for local execution -docker run -v ${GITHUB_WORKSPACE}:/usr/src -w /usr/src opengisch/qgis:${QGIS_TEST_VERSION} sh -c 'xvfb-run pytest-3' -``` - In one line, removing all containers. ```sh -QGIS_TEST_VERSION=latest GITHUB_WORKSPACE=$PWD docker run -v ${GITHUB_WORKSPACE}:/usr/src -w /usr/src opengisch/qgis:${QGIS_TEST_VERSION} sh -c 'xvfb-run pytest-3' +docker run -v $PWD:/usr/src -w /usr/src opengisch/qgis:latest sh -c 'xvfb-run pytest-3' ```