From 4153dce65361771904c724e8c4241201406ac6e9 Mon Sep 17 00:00:00 2001 From: Steven Maude Date: Wed, 29 May 2024 17:39:25 +0100 Subject: [PATCH] Add rudimentary check for ehrQL in dev container As the comment states, we cannot check this is installed properly yet. --- tests/dev_container.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/dev_container.sh b/tests/dev_container.sh index 6bc06f7..6d88af2 100755 --- a/tests/dev_container.sh +++ b/tests/dev_container.sh @@ -6,3 +6,9 @@ opensafely run run_all # Check the RStudio server is running. curl -L 'http://localhost:8787' | grep 'RStudio' + +# This is a rudimentary placeholder test of the ehrQL installation. +# We cannot easily run ehrQL because it requires Python 3.11 to be imported, +# but the OpenSAFELY Python Docker image, and the dev container, uses Python 3.10. +# In future, we could actually try and import ehrQL through Python. +ls .devcontainer/ehrql-main/