Skip to content

Commit cfd48d3

Browse files
committed
hopefully fix cp2k data path in CI
1 parent 56dc72a commit cfd48d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/run_pytest.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +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
50+
export CP2K_DATA_DIR=$(dirname $(which python))/../share/cp2k/data
5151
pytest --skip-gpu --psiflow-config=.github/threadpool.yaml
5252
shell: micromamba-shell {0}
5353
test-py311:
@@ -91,6 +91,6 @@ jobs:
9191
cd psiflow
9292
which cp2k.psmp
9393
export WANDB_API_KEY=${{ secrets.WANDB_API_KEY }}
94-
export CP2K_DATA_DIR=ls $(dirname $(which python))/../share/cp2k/data
94+
export CP2K_DATA_DIR=$(dirname $(which python))/../share/cp2k/data
9595
pytest --skip-gpu --psiflow-config=.github/threadpool.yaml
9696
shell: micromamba-shell {0}

0 commit comments

Comments
 (0)