mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 06:05:29 -04:00
Docker: Update AiiDA test to pytest
This commit is contained in:
parent
abbbcaa7c0
commit
dbebbfc6f3
2 changed files with 3 additions and 3 deletions
|
|
@ -20,7 +20,7 @@ rm -rf /var/lib/apt/lists/*
|
|||
# install dependencies of aiida-cp2k
|
||||
cd /opt/
|
||||
git clone --quiet https://github.com/aiidateam/aiida-cp2k.git
|
||||
pip3 install --quiet ./aiida-cp2k/[pre-commit,test]
|
||||
pip3 install --quiet ./aiida-cp2k/[test]
|
||||
pip3 uninstall --quiet --yes aiida-cp2k
|
||||
|
||||
# create ubuntu user with sudo powers
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ fi
|
|||
echo -e "\n========== Installing AiiDA-CP2K plugin =========="
|
||||
cd /opt/aiida-cp2k/
|
||||
git pull
|
||||
pip3 install ./[pre-commit,test]
|
||||
pip3 install ./[test]
|
||||
|
||||
echo -e "\n========== Configuring AiiDA =========="
|
||||
AS_UBUNTU_USER="sudo -u ubuntu -H"
|
||||
|
|
@ -92,7 +92,7 @@ cd /opt/aiida-cp2k/
|
|||
set +e # disable error trapping for remainder of script
|
||||
(
|
||||
set -e # abort on error
|
||||
$AS_UBUNTU_USER ./run_tests.sh
|
||||
$AS_UBUNTU_USER py.test
|
||||
)
|
||||
|
||||
EXIT_CODE=$?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue