diff --git a/.github/workflows/gh-ci.yaml b/.github/workflows/gh-ci.yaml index d95b817..7d6d18e 100644 --- a/.github/workflows/gh-ci.yaml +++ b/.github/workflows/gh-ci.yaml @@ -30,13 +30,13 @@ jobs: fail-fast: false matrix: os: [macOS-latest, ubuntu-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13"] mdanalysis-version: ["latest", "develop"] # Manually exclude any combinations of the test matrix that can't be run exclude: # The latest release of MDAnalysis only supports up to Python 3.11 # so we exclude 3.12 from the test matrix (issue #20) - - python-version: "3.12" + - python-version: "3.13" mdanalysis-version: "latest" steps: @@ -48,29 +48,24 @@ jobs: df -h ulimit -a - # More info on options: https://github.com/conda-incubator/setup-miniconda - - name: Install conda dependencies - uses: conda-incubator/setup-miniconda@v3 + - name: setup_micromamba + uses: mamba-org/setup-micromamba@v2 with: - python-version: ${{ matrix.python-version }} environment-file: devtools/conda-envs/test_env.yaml - add-pip-as-python-dependency: true - - miniforge-variant: Mambaforge - use-mamba: true - channels: conda-forge, defaults - - activate-environment: pathsimanalysis-test - auto-update-conda: true - auto-activate-base: false - show-channel-urls: true + environment-name: pathsimanalysis-test + create-args: >- + python=${{ matrix.python-version }} + pip + condarc: | + channels: + - conda-forge - name: Install MDAnalysis version uses: MDAnalysis/install-mdanalysis@main with: version: ${{ matrix.mdanalysis-version }} install-tests: true - installer: mamba + installer: micromamba shell: bash -l {0} - name: Install package @@ -84,8 +79,8 @@ jobs: which pip pip list - conda info - conda list + micromamba info + micromamba list - name: Run tests run: | diff --git a/pyproject.toml b/pyproject.toml index 64abf24..0e078a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering", "Topic :: Software Development :: Libraries :: Python Modules", ]