Skip to content

Commit 5463973

Browse files
committed
Final tweaks for refined CI structure:
- Pulled in changes from upstream branches - Updaated naming conventions on the `MDAnalysis` tests
1 parent 790f0d9 commit 5463973

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/project-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
matrix:
7878
python-version: ["3.11", "3.12", "3.13"]
7979
mdanalysis-version: ["2.7.0", "2.8.0", "2.9.0", "latest"]
80-
name: MDAnalysis v${{ matrix.mdanalysis-version }} / Python ${{ matrix.python-version }}
80+
name: MDAnalysis Compatibility Tests
8181
steps:
8282
- name: Checkout repo
8383
uses: actions/checkout@v4

tests/test_CodeEntropy/test_run.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,12 @@ def test_run_entropy_workflow(self):
136136
run_manager._config_manager.merge_configs.return_value = mock_args
137137

138138
mock_entropy_manager = MagicMock()
139-
with unittest.mock.patch(
140-
"CodeEntropy.run.EntropyManager", return_value=mock_entropy_manager
141-
), unittest.mock.patch("CodeEntropy.run.mda.Universe") as mock_universe:
139+
with (
140+
unittest.mock.patch(
141+
"CodeEntropy.run.EntropyManager", return_value=mock_entropy_manager
142+
),
143+
unittest.mock.patch("CodeEntropy.run.mda.Universe") as mock_universe,
144+
):
142145

143146
run_manager.run_entropy_workflow()
144147

0 commit comments

Comments
 (0)