@@ -16,7 +16,7 @@ defaults:
1616 shell : bash -l {0}
1717
1818env :
19- CONDA_DEPS : " 'MDAnalysis' MDAnalysisTests numpy ' scipy<1.8' pytest pytest-cov codecov"
19+ CONDA_DEPS : " 'MDAnalysis' MDAnalysisTests numpy scipy pytest pytest-cov codecov"
2020
2121jobs :
2222 tests :
@@ -25,48 +25,45 @@ jobs:
2525 fail-fast : false
2626 matrix :
2727 os : [ubuntu-latest, macOS-latest]
28- python-version : ["3.8", "3.9", "3.10"]
29-
28+ python-version : ["3.10", "3.11", "3.12", "3.13"]
3029 env :
3130 CYTHON_TRACE_NOGIL : 1
3231 MPLBACKEND : agg
3332 GH_OS : ${{ matrix.os }}
3433
3534 steps :
36- - uses : actions/checkout@v2
35+ - uses : actions/checkout@v5
3736
38- - name : setup_miniconda
39- uses : conda-incubator /setup-miniconda @v2
37+ - name : " Setup Micromamba "
38+ uses : mamba-org /setup-micromamba @v2
4039 with :
41- python-version : ${{ matrix.python-version }}
42- auto-update-conda : true
43- channels : conda-forge
44- add-pip-as-python-dependency : true
45- mamba-version : " *"
46- architecture : x64
40+ environment-name : mdrg_env
41+ create-args : >-
42+ python=${{ matrix.python-version }}
43+ init-shell : bash
4744
4845 - name : install_deps
4946 run : |
50- mamba install ${{ env.CONDA_DEPS }}
47+ micromamba install ${{ env.CONDA_DEPS }}
5148
5249 - name : check_setup
5350 run : |
5451 echo ${GH_OS}
5552 which python
5653 which conda
5754 which pip
58- conda info
55+ micromamba list
5956
6057 - name : install_mdrg
6158 run : |
62- python setup.py develop --no-deps
59+ python -m pip install . --no-deps
6360
6461 - name : run_tests
6562 run : |
6663 pytest -v --cov=MDRestraintsGenerator --cov-report=xml MDRestraintsGenerator/tests/
6764
6865 - name : codecov
69- uses : codecov/codecov-action@v1
66+ uses : codecov/codecov-action@v5
7067 with :
7168 file : coverage.xml
7269 fail_ci_if_error : True
0 commit comments