diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 02803f2e21eba4c4b67fb0af6e2ed405085e44af..a9043a8071ce0767b5894479259257bcba477885 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -42,6 +42,9 @@ containers:
     # Fail if differences exist. If this fails, you may need to run
     # write_dockerfiles.py and commit the changes.
     - git diff --exit-code
+    - cp env-template.yml env.yml
+    - echo "  - python=3.10" >> env.yml
+    - mamba env create -f env.yml -n test --dry-run
 
 .test-python: &test-python
   stage: initial
diff --git a/containers/env-template.yml b/containers/env-template.yml
index c2b050c339d154423d3d6d78dd32aa91aa081390..647709a2734f27eb1a7e973bf21285ac3b7abe52 100644
--- a/containers/env-template.yml
+++ b/containers/env-template.yml
@@ -69,7 +69,7 @@ dependencies:
   - nbconvert
   - twine
   - glasflow
-  - myst_parser
+  - myst-parser
   - pip:
     - autodoc
     - ipykernel