Skip to content

Commit

Permalink
install cp2k directly
Browse files Browse the repository at this point in the history
  • Loading branch information
PicoCentauri committed Mar 5, 2024
1 parent e4618d4 commit 3430c73
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
python-version: "3.10"
- name: install dependencies
run: |
sudo apt-get install -y cp2k
python -m pip install tox
- name: build documentation
run: tox -e docs
Expand Down
3 changes: 1 addition & 2 deletions examples/cp2k_run_batch/environement.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: cp2k_run_batch
dependencies:
- python=3.10
- python=3.11
- pip
- conda-forge::cp2k
- pip:
- ase
4 changes: 0 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ lint_folders =

install_conda_env =
conda env update --file examples/{envname}/environement.yml --prefix {envdir}/conda --verbose
conda deactivate
conda activate {envdir}/conda
# install sphinx-gallery and its dependencies
{envdir}/conda/bin/python -m pip install sphinx-gallery sphinx pillow matplotlib

Expand Down Expand Up @@ -70,8 +68,6 @@ commands =
{[testenv]generate_gallery}

[testenv:cp2k_run_batch]
; setenv =
; PATH={envdir}/conda/bin:{env:PATH}
commands =
{[testenv]install_conda_env}
{[testenv]generate_gallery}
Expand Down

0 comments on commit 3430c73

Please sign in to comment.