From 6c26138c1efbdc326bfeb20508b85ccd4a0b0313 Mon Sep 17 00:00:00 2001 From: Jusong Yu Date: Wed, 24 May 2023 17:42:40 +0200 Subject: [PATCH] README.md: how to run unit test from aiidalab docker stack container (#403) Co-authored-by: Daniel Hollas --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 702614eb..a6923f76 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,12 @@ pre-commit install ``` The pre-commit checks should now be automatically executed prior to each commit. +To run unit tests in the AiiDAlab container, you need to run `pytest` from within the `aiida-core-services` conda environment: +``` +conda activate aiida-core-services +pytest -sv tests +``` + ## For maintainers To create a new release, clone the repository, install development dependencies with `pip install '.[dev]'`, and then execute `bumpver update`.