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' ```