-
Notifications
You must be signed in to change notification settings - Fork 2
GH action maintenance #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
orbeckst
wants to merge
5
commits into
main
Choose a base branch
from
enable-dependabot
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
1d6741f
enable dependabot version updates for actions
orbeckst f1700b4
manually updated all GH actions
orbeckst f9d6843
update mamba installation
orbeckst e5c8462
increased supported Python version to 3.11
orbeckst d624cfe
switch MDAnalysis/install-mdanalysis installer to conda
orbeckst File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,17 +30,17 @@ jobs: | |
| fail-fast: false | ||
| matrix: | ||
| os: [macOS-latest, ubuntu-latest, windows-latest] | ||
| 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: | | ||
|
|
@@ -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 | ||
|
|
@@ -70,7 +71,7 @@ jobs: | |
| with: | ||
| version: ${{ matrix.mdanalysis-version }} | ||
| install-tests: true | ||
| installer: mamba | ||
| installer: conda | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| shell: bash -l {0} | ||
|
|
||
| - name: Install package | ||
|
|
@@ -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 }} | ||
|
|
@@ -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" | ||
|
|
||
|
|
@@ -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" | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.