Skip to content
Open
40 changes: 20 additions & 20 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@ jobs:
- [windows-2025, win, AMD64]
- [macos-15, macosx, arm64]
- [macos-15-intel, macosx, x86_64]
python: ["cp311", "cp312", "cp313", "cp314"]
python: ["cp312", "cp313", "cp314", "cp315"]
defaults:
run:
working-directory: ./package
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0

- name: Build wheels
uses: pypa/cibuildwheel@b9e566a2b284570af229f6c2a33673410d0389a3 # v4.3.4
uses: pypa/cibuildwheel@v4.3.5
with:
package-dir: package
env:
Expand All @@ -65,7 +65,7 @@ jobs:
if: |
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/package')) ||
(github.event_name == 'release' && github.event.action == 'published')
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v7.0.2
with:
name: wheel-${{ matrix.buildplat[0] }}-${{ matrix.python }}
path: wheelhouse/*.whl
Expand All @@ -80,7 +80,7 @@ jobs:
run:
working-directory: ./package
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0

Expand All @@ -91,7 +91,7 @@ jobs:
if: |
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/package')) ||
(github.event_name == 'release' && github.event.action == 'published')
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v7.0.2
with:
name: sdist
path: package/dist/*.tar.gz
Expand All @@ -106,7 +106,7 @@ jobs:
run:
working-directory: ./testsuite
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0

Expand All @@ -117,7 +117,7 @@ jobs:
if: |
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/package')) ||
(github.event_name == 'release' && github.event.action == 'published')
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v7.0.2
with:
name: sdist_tests
path: testsuite/dist/*.tar.gz
Expand All @@ -136,7 +136,7 @@ jobs:
runs-on: ubuntu-latest
needs: [build_wheels, build_sdist, build_sdist_tests]
steps:
- uses: actions/download-artifact@v8
- uses: actions/download-artifact@v8.0.2
with:
path: dist
merge-multiple: true
Expand All @@ -147,7 +147,7 @@ jobs:
mv dist/mdanalysistests-* testsuite/dist

- name: upload_source_and_wheels
uses: pypa/gh-action-pypi-publish@v1.14.2
uses: pypa/gh-action-pypi-publish@v1.14.3
with:
skip_existing: true
repository_url: https://test.pypi.org/legacy/
Expand All @@ -165,7 +165,7 @@ jobs:
runs-on: ubuntu-latest
needs: [build_wheels, build_sdist, build_sdist_tests]
steps:
- uses: actions/download-artifact@v8
- uses: actions/download-artifact@v8.0.2
with:
path: dist
merge-multiple: true
Expand All @@ -176,7 +176,7 @@ jobs:
mv dist/mdanalysistests-* testsuite/dist

- name: upload_tests
uses: pypa/gh-action-pypi-publish@v1.14.2
uses: pypa/gh-action-pypi-publish@v1.14.3
with:
packages_dir: testsuite/dist
skip_existing: true
Expand All @@ -195,7 +195,7 @@ jobs:
runs-on: ubuntu-latest
needs: [build_wheels, build_sdist, build_sdist_tests]
steps:
- uses: actions/download-artifact@v8
- uses: actions/download-artifact@v8.0.2
with:
path: dist
merge-multiple: true
Expand All @@ -206,7 +206,7 @@ jobs:
mv dist/mdanalysistests-* testsuite/dist

- name: upload_source_and_wheels
uses: pypa/gh-action-pypi-publish@v1.14.2
uses: pypa/gh-action-pypi-publish@v1.14.3

upload_pypi_mdanalysistests:
if: |
Expand All @@ -221,7 +221,7 @@ jobs:
runs-on: ubuntu-latest
needs: [build_wheels, build_sdist, build_sdist_tests]
steps:
- uses: actions/download-artifact@v8
- uses: actions/download-artifact@v8.0.2
with:
path: dist
merge-multiple: true
Expand All @@ -232,7 +232,7 @@ jobs:
mv dist/mdanalysistests-* testsuite/dist

- name: upload_tests
uses: pypa/gh-action-pypi-publish@v1.14.2
uses: pypa/gh-action-pypi-publish@v1.14.3
with:
packages_dir: testsuite/dist

Expand All @@ -248,7 +248,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-15, macos-15-intel, windows-latest]
python-version: ["3.11", "3.12", "3.13", "3.14"]
python-version: ["3.12", "3.13", "3.14", "3.15"]
type: ["FULL", "MIN"]
exclude:
# Multiple deps don't like windows
Expand All @@ -257,16 +257,16 @@ jobs:
type: "FULL"
- os: "macos-latest"
type: "FULL"
- python-version: "3.14"
- python-version: "3.15"
type: "FULL"
env:
MPLBACKEND: agg

steps:
- uses: actions/checkout@v7
- uses: actions/checkout@v7.0.1

- name: setup_micromamba
uses: mamba-org/setup-micromamba@v3
uses: mamba-org/setup-micromamba@v3.2.1
with:
environment-name: mda
create-args: >-
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/gh-ci-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ jobs:
timeout-minutes: 60

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7.0.1

- name: setup_os
uses: ./.github/actions/setup-os
with:
os-type: "ubuntu"

- uses: actions/setup-python@v6
- uses: actions/setup-python@v7.1.0

# minimally install nightly wheels & core deps
- name: nightly_wheels
Expand All @@ -55,7 +55,7 @@ jobs:
python -m pip install \
"cython>=0.28" \
packaging \
"setuptools>69.4" \
"setuptools>=75.0" \
wheel \
"griddataformats>=0.4.0" \
"mmtf-python>=1.0" \
Expand Down Expand Up @@ -91,19 +91,19 @@ jobs:
timeout-minutes: 60

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7.0.1

- name: setup_os
uses: ./.github/actions/setup-os
with:
os-type: "ubuntu"

- name: setup_micromamba
uses: mamba-org/setup-micromamba@v2
uses: mamba-org/setup-micromamba@v3.2.1
with:
environment-name: mda
create-args: >-
python=3.11
python=3.15
pip
condarc: |
channels:
Expand Down Expand Up @@ -143,15 +143,15 @@ jobs:
os: [ubuntu-22.04, macos-15]

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7.0.1

- name: setup_os
uses: ./.github/actions/setup-os
with:
os-type: ${{ matrix.os }}

- name: setup_micromamba
uses: mamba-org/setup-micromamba@v2
uses: mamba-org/setup-micromamba@v3.2.1
with:
environment-name: mda
create-args: >-
Expand Down Expand Up @@ -188,16 +188,16 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14"]
python-version: ["3.12", "3.13", "3.14", "3.15"]
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7.0.1

- name: setup_os
uses: ./.github/actions/setup-os
with:
os-type: "ubuntu"

- uses: actions/setup-python@v6
- uses: actions/setup-python@v7.1.0
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -232,17 +232,17 @@ jobs:
# Stick to macos intel because some of our
# optional deps don't support arm64 (i.e. macos-latest)
os: [ubuntu-latest, macos-26-intel]
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7.0.1

- name: setup_os
uses: ./.github/actions/setup-os
with:
os-type: ${{ matrix.os }}

- name: setup_micromamba
uses: mamba-org/setup-micromamba@v2
uses: mamba-org/setup-micromamba@v3.2.1
with:
environment-name: mda
create-args: >-
Expand Down Expand Up @@ -276,26 +276,26 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.11", "3.12", "3.13", "3.14"]
wheels: ['true', 'false']
steps:
# Checkout to have access to local actions (i.e. setup-os)
- uses: actions/checkout@v6
- uses: actions/checkout@v7.0.1

# We need this here in order to make sure we assign the correct compiler (i.e. clang for macos)
- name: setup_os
uses: ./.github/actions/setup-os
with:
os-type: ${{ matrix.os }}

- uses: actions/setup-python@v6
- uses: actions/setup-python@v7.1.0
with:
python-version: ${{ matrix.python-version }}

- name: install_deps
shell: bash
run: |
pip install pytest-xdist pytest-timeout "numpy<2.3" "cython<3.1" wheel "setuptools>=40.9.0" packaging
pip install pytest-xdist pytest-timeout numpy cython wheel "setuptools>=40.9.0" packaging

- name: install_mdanalysis
shell: bash
Expand Down
Loading
Loading