Skip to content

Commit

Permalink
Add rudimentary check for ehrQL in dev container
Browse files Browse the repository at this point in the history
As the comment states, we cannot check this is installed properly yet.
  • Loading branch information
StevenMaude committed May 29, 2024
1 parent a97bc87 commit 4c5e463
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/dev_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit 4c5e463

Please sign in to comment.