Skip to content

Commit

Permalink
github CI create ASE_CONFIG_PATH in default location, so env var isn'…
Browse files Browse the repository at this point in the history
…t needed
  • Loading branch information
bernstei committed Jul 29, 2024
1 parent 0140cca commit ed14114
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/pytests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
fi
source $mklvars intel64
# pip constraint needs to be an absolute filename
export PIP_CONSTRAINT=$PWD/$PIP_CONSTRAINT
git clone https://github.com/phonopy/phonopy
Expand Down Expand Up @@ -205,13 +206,13 @@ jobs:
- name: set up ASE config files
run: |
export config_file=${HOME}/pytest_plain_config.ini
echo "[espresso]" > ${config_file}
echo "command = ${espresso_command}" >> ${config_file}
echo "pseudo_dir = ${HOME}/dummy" >> ${config_file}
export ASE_CONFIG_PATH=${config_file}
echo ASE_CONFIG_PATH $ASE_CONFIG_PATH
cat $ASE_CONFIG_PATH
mkdir -p ${HOME}/.config/ase/
echo "[espresso]" > ${HOME}/.config/ase/config.ini
echo "command = ${espresso_command}" >> ${HOME}/.config/ase/config.ini
echo "pseudo_dir = ${HOME}/dummy" >> ${HOME}/.config/ase/config.ini
echo '$HOME/.config/ase/config.ini'
cat $HOME/.config/ase/config.ini'
- name: Lint with flake8
run: |
Expand Down

0 comments on commit ed14114

Please sign in to comment.