Skip to content

Commit a3c3d3e

Browse files
amrutheshtljwoods2
andauthored
Run all simulation enegine tests regardless of failed tests (#69)
* fix #56 * Change: Group sim tests under GH-CI, run all of them independently * run sim engines in parallel --------- Co-authored-by: Amruthesh Thirumalaiswamy <amruthesht@users.noreply.github.com> Co-authored-by: Lawson Woods <ljwoods2@asu.edu>
1 parent 56430e9 commit a3c3d3e

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

.github/workflows/gh-ci.yaml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,20 @@ jobs:
124124
if: github.repository == 'Becksteinlab/imdclient'
125125
runs-on: ubuntu-latest
126126

127+
strategy:
128+
fail-fast: false
129+
matrix:
130+
include:
131+
- name: namd
132+
image: ghcr.io/becksteinlab/streaming-namd-docker:main-common-cpu
133+
script: imdclient/tests/test_namd.py
134+
- name: gromacs
135+
image: ghcr.io/becksteinlab/streaming-md-docker:main-common-cpu
136+
script: imdclient/tests/test_gromacs.py
137+
- name: lammps
138+
image: ghcr.io/becksteinlab/streaming-md-docker:main-common-cpu
139+
script: imdclient/tests/test_lammps.py
140+
127141
permissions:
128142
contents: read
129143
packages: read
@@ -173,26 +187,13 @@ jobs:
173187
python --version
174188
python -m pip install . --no-deps
175189
176-
- name: Pull private NAMD container
190+
- name: Pull container
177191
run: |
178-
docker pull ghcr.io/becksteinlab/streaming-namd-docker:main-common-cpu
192+
docker pull ${{ matrix.image }}
179193
180-
# Uses private container
181-
- name: Run NAMD tests
182-
run: |
183-
pytest -v --color=yes imdclient/tests/test_namd.py
184-
185-
- name: Pull GROMACS + LAMMPS container
186-
run: |
187-
docker pull ghcr.io/becksteinlab/streaming-md-docker:main-common-cpu
188-
189-
- name: Run GROMACS tests
190-
run: |
191-
pytest -v --color=yes imdclient/tests/test_gromacs.py
192-
193-
- name: Run LAMMPS tests
194+
- name: Run simulation engine tests
194195
run: |
195-
pytest -v --color=yes imdclient/tests/test_lammps.py
196+
pytest -v --color=yes ${{ matrix.script }}
196197
197198
pylint_check:
198199
if: github.repository == 'Becksteinlab/imdclient'

0 commit comments

Comments
 (0)