Skip to content

Commit

Permalink
add GROMACS 2024.2 to tests
Browse files Browse the repository at this point in the history
- Replace GROMACS in macOS runners: 2018.6 (bioconda) --> 2024.2 (conda-forge)
- run ubuntu tests with 2024.2
- update tests
- update docs
  • Loading branch information
orbeckst committed Jun 15, 2024
1 parent 978dfb7 commit ea033f4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,24 @@ jobs:
- os: ubuntu-latest
python-version: "3.11"
gromacs-version: "2022.4"
- os: ubuntu-latest
python-version: "3.11"
gromacs-version: "2023.4"
- os: ubuntu-latest
python-version: "3.11"
gromacs-version: "2024.2"
# explicitly include a few macOS runners: MUST use 2018.6:
# (conda-forge GROMACS >= 2021 is compiled to use rdtscp CPU instruction but these
# are not available in the macOS GitHub runner so we need to use a different GROMACS
# version. 2018.5 from bioconda works. (2021.5 worked previously but not anymore.)
# Locally 2023.1 was successfully tested on Intel macOS 13.5.)
# Jun 2024: 2018.6 is not found anymore
- os: macOS-latest
python-version: "3.11"
gromacs-version: "2018.6"
gromacs-version: "2024.2"
- os: macOS-latest
python-version: "3.12"
gromacs-version: "2018.6"
gromacs-version: "2024.2"


env:
Expand Down
13 changes: 12 additions & 1 deletion tests/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,18 @@ def test_failure_ignore():

class TestRelease(object):
# add tested releases here
major_releases = ("4", "5", "2016", "2018", "2019", "2020", "2021", "2022", "2023")
major_releases = (
"4",
"5",
"2016",
"2018",
"2019",
"2020",
"2021",
"2022",
"2023",
"2024",
)

def test_release(self):
assert gromacs.release().startswith(self.major_releases)
Expand Down

0 comments on commit ea033f4

Please sign in to comment.