File tree Expand file tree Collapse file tree 1 file changed +32
-1
lines changed
Expand file tree Collapse file tree 1 file changed +32
-1
lines changed Original file line number Diff line number Diff line change 6767 - name : Run pre-commit
6868 run : |
6969 pre-commit install
70- pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )
70+ pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )
71+
72+ mdanalysis_compatibility :
73+ runs-on : ubuntu-latest
74+ timeout-minutes : 15
75+ strategy :
76+ matrix :
77+ python-version : ["3.11", "3.12", "3.13"]
78+ mdanalysis-version : ["2.7.0", "2.8.0", "2.9.0", "latest"]
79+ name : MDAnalysis v${{ matrix.mdanalysis-version }} / Python ${{ matrix.python-version }}
80+ steps :
81+ - name : Checkout repo
82+ uses : actions/checkout@v4
83+
84+ - name : Set up Python ${{ matrix.python-version }}
85+ uses : actions/setup-python@v5
86+ with :
87+ python-version : ${{ matrix.python-version }}
88+
89+ - name : Install dependencies with MDAnalysis ${{ matrix.mdanalysis-version }}
90+ run : |
91+ pip install --upgrade pip
92+ if [ "${{ matrix.mdanalysis-version }}" = "latest" ]; then
93+ pip install -e .[testing]
94+ pip install MDAnalysis
95+ else
96+ pip install -e .[testing]
97+ pip install "MDAnalysis==${{ matrix.mdanalysis-version }}"
98+ fi
99+
100+ - name : Run tests
101+ run : pytest --cov CodeEntropy --cov-report=term-missing --cov-append
You can’t perform that action at this time.
0 commit comments