Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Set update schedule for GitHub Actions

version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: testpypi_deploy
uses: MDAnalysis/pypi-deployment@main
Expand All @@ -45,7 +45,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: pypi_deploy
uses: MDAnalysis/pypi-deployment@main
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v7
with:
fetch-depth: 0

- name: setup_miniconda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v4
with:
python-version: 3.11
environment-file: docs/requirements.yaml
auto-update-conda: true
channel-priority: flexible
channels: conda-forge
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true

- name: Build and install package
Expand All @@ -46,15 +46,15 @@ jobs:
cd docs && sphinx-build -b html source build

- name: deploy docs
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
if: github.event_name != 'pull_request'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build
user_name: 'github-actions'
user_email: 'github-action@users.noreply.github.com'

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v7
if: github.event_name == 'pull_request'
with:
name: pr_docs
Expand Down
29 changes: 15 additions & 14 deletions .github/workflows/gh-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ jobs:
fail-fast: false
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I may comment out windows-latest for now until MDAnalysis/install-mdanalysis#14 is resolved.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switching the installer for the MDA action to conda seems a workaround.

python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.11", "3.12", "3.13", "3.14"]
mdanalysis-version: ["latest", "develop"]
# Manually exclude any combinations of the test matrix that can't be run
exclude:
#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"
mdanalysis-version: "latest"
#- python-version: "3.12"
# mdanalysis-version: "latest"

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Build information
run: |
Expand All @@ -50,15 +50,16 @@ jobs:

# More info on options: https://github.com/conda-incubator/setup-miniconda
- name: Install conda dependencies
uses: conda-incubator/setup-miniconda@v3
uses: conda-incubator/setup-miniconda@v4
with:
python-version: ${{ matrix.python-version }}
environment-file: devtools/conda-envs/test_env.yaml
add-pip-as-python-dependency: true

miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
channels: conda-forge, defaults
channels: conda-forge
conda-remove-defaults: "true"

activate-environment: pathsimanalysis-test
auto-update-conda: true
Expand All @@ -70,7 +71,7 @@ jobs:
with:
version: ${{ matrix.mdanalysis-version }}
install-tests: true
installer: mamba
installer: conda

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shell: bash -l {0}

- name: Install package
Expand All @@ -93,7 +94,7 @@ jobs:

- name: codecov
if: github.repository == 'MDAnalysis/pathsimanalysis' && github.event_name != 'schedule'
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v7
with:
file: coverage.xml
name: codecov-${{ matrix.os }}-py${{ matrix.python-version }}
Expand All @@ -106,10 +107,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: "3.11"

Expand All @@ -131,10 +132,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: "3.11"

Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sphinx:
build:
os: ubuntu-lts-latest
tools:
python: "mambaforge-4.10"
python: "miniforge3-latest"

python:
install:
Expand Down
1 change: 0 additions & 1 deletion devtools/conda-envs/test_env.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: pathsimanalysis-test
channels:
- conda-forge
- defaults
dependencies:
# Base depends
- python
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ classifiers = [
"License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
"Programming Language :: C",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
]
Expand Down
Loading