Skip to content

Commit 56dc72a

Browse files
committed
set cp2k data path to share folder in micromamba env
1 parent 3cf1bad commit 56dc72a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/run_pytest.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
cd psiflow
4848
which cp2k.psmp
4949
export WANDB_API_KEY=${{ secrets.WANDB_API_KEY }}
50+
export CP2K_DATA_DIR=ls $(dirname $(which python))/../share/cp2k/data
5051
pytest --skip-gpu --psiflow-config=.github/threadpool.yaml
5152
shell: micromamba-shell {0}
5253
test-py311:
@@ -90,5 +91,6 @@ jobs:
9091
cd psiflow
9192
which cp2k.psmp
9293
export WANDB_API_KEY=${{ secrets.WANDB_API_KEY }}
94+
export CP2K_DATA_DIR=ls $(dirname $(which python))/../share/cp2k/data
9395
pytest --skip-gpu --psiflow-config=.github/threadpool.yaml
9496
shell: micromamba-shell {0}

0 commit comments

Comments
 (0)