From 023d3a1b7beb2abfa08e27e4b6934ce4c79ac93e Mon Sep 17 00:00:00 2001 From: Aliaksandr Yakutovich Date: Thu, 7 Jul 2022 13:17:07 +0200 Subject: [PATCH] Fix tests --- .github/workflows/build_and_test_on_pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test_on_pr.yml b/.github/workflows/build_and_test_on_pr.yml index 137d46f..f4e8176 100644 --- a/.github/workflows/build_and_test_on_pr.yml +++ b/.github/workflows/build_and_test_on_pr.yml @@ -52,7 +52,7 @@ jobs: export DOCKERID=`docker run -v $PWD/tmp:/home/aiida -d aiida-prerequisites:latest` docker exec --tty --user root $DOCKERID wait-for-services docker exec --tty --user aiida $DOCKERID wait-for-services - docker exec --tty --user aiida $DOCKERID /bin/bash -l -c 'conda run -n pgsql pg_ctl -D /home/$SYSTEM_USER/.postgresql status' # Check that postgres is up. + docker exec --tty --user aiida $DOCKERID /bin/bash -l -c '/opt/conda/envs/pgsql/bin/pg_ctl -D /home/$SYSTEM_USER/.postgresql status' # Check that postgres is up. docker exec --tty --user root $DOCKERID /bin/bash -l -c 'service rabbitmq-server status' # Check that rabbitmq is up. docker exec --tty --user aiida $DOCKERID /bin/bash -l -c 'conda create -y -n test_env python=3.8' # Check that one can create a new conda environment. docker exec --tty --user aiida $DOCKERID /bin/bash -l -c 'conda activate test_env' # Check that new environment works.