Skip to content

Commit cea189e

Browse files
committed
BLD: GitHub tests.yml to remove PyTorch installation step and update step numbering
1 parent e022f33 commit cea189e

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,35 +26,29 @@ jobs:
2626
init-shell: bash
2727
generate-run-shell: true
2828

29-
# 3. Install PyTorch using pip
30-
- name: Install PyTorch with pip
31-
shell: micromamba-shell {0}
32-
run: |
33-
pip install "torch<2.6.0,>=2.1.0"
34-
35-
# 4. Install local and dev dependencies using uv
29+
# 3. Install local and dev dependencies using uv
3630
- name: Install Python dependencies with uv
3731
shell: micromamba-shell {0}
3832
run: |
3933
uv pip install -e '.[dev]'
4034
41-
# 5. Set up environment variables for LAMMPS
35+
# 4. Set up environment variables for LAMMPS
4236
- name: Configure LAMMPS paths
4337
shell: micromamba-shell {0}
4438
run: |
4539
echo "LAMMPS_POTENTIALS=$GITHUB_WORKSPACE/mcmc/potentials" >> $GITHUB_ENV
4640
echo "LAMMPS_COMMAND=$(which lmp)" >> $GITHUB_ENV
4741
echo "ASE_LAMMPSRUN_COMMAND=$(which lmp)" >> $GITHUB_ENV
4842
49-
# 6. Display environment variables for debugging
43+
# 5. Display environment variables for debugging
5044
- name: Print LAMMPS paths
5145
shell: micromamba-shell {0}
5246
run: |
5347
echo "LAMMPS_POTENTIALS = $LAMMPS_POTENTIALS"
5448
echo "LAMMPS_COMMAND = $LAMMPS_COMMAND"
5549
echo "ASE_LAMMPSRUN_COMMAND = $ASE_LAMMPSRUN_COMMAND"
5650
57-
# 7. Run test suite
51+
# 6. Run test suite
5852
- name: Run tests with pytest
5953
shell: micromamba-shell {0}
6054
run: |

0 commit comments

Comments
 (0)