Skip to content

Commit

Permalink
Update run_pytest.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
pdobbelaere authored Feb 19, 2025
1 parent fd5911b commit aeef6a0
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/run_pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,24 @@ jobs:
init-shell: bash
cache-environment: true
post-cleanup: 'all'
- name: install pip dependencies and execute pytest
- name: Install dependencies and download containers
shell: micromamba-shell {0}
run: |
which pip
pip install pyfftw colorcet wandb pandas plotly plumed 'numpy<2.0.0'
pip install --no-cache-dir git+https://github.com/i-pi/[email protected]
pip install torch==2.5.1
pip install git+https://github.com/acesuit/[email protected]
pip install 'psiflow[dev] @ git+https://github.com/molmod/psiflow.git'
cd ${{ runner.temp }} && git clone https://github.com/molmod/psiflow
cd psiflow
export WANDB_API_KEY=${{ secrets.WANDB_API_KEY }}
apptainer exec oras://ghcr.io/molmod/cp2k:2024.1 ls
apptainer exec oras://ghcr.io/molmod/gpaw:24.1 ls
pytest --skip-gpu --psiflow-config=.github/threadpool.yaml
- name: Checkout specific commit
uses: actions/checkout@v4
- name: Install Psiflow and run tests
shell: micromamba-shell {0}
env:
WANDB_API_KEY: secrets.WANDB_API_KEY
WANDB_MODE: offline # disables WandB server calls
run: |
pip install .[dev]
pip list
pytest --skip-gpu --psiflow-config=.github/threadpool.yaml

0 comments on commit aeef6a0

Please sign in to comment.