Skip to content
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

Bump to miniforge and py3.13 #139

Merged
merged 5 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from 4 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
33 changes: 17 additions & 16 deletions .github/workflows/gh-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

defaults:
run:
shell: bash -l {0}
shell: bash -leo pipefail {0}

jobs:
unittests:
Expand All @@ -26,30 +26,30 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, ]
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
include:
- os: windows-latest
python-version: "3.12"
python-version: "3.13"
- os: macos-latest
python-version: "3.12"
python-version: "3.13"

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

- name: setup_miniconda
uses: conda-incubator/setup-miniconda@v2
- name: setup_micromamba
uses: mamba-org/setup-micromamba@v2
with:
python-version: ${{ matrix.python-version }}
auto-update-conda: true
channel-priority: flexible
channels: conda-forge
add-pip-as-python-dependency: true
use-mamba: true
miniforge-variant: Mambaforge
environment-name: mda
create-args: >-
python=${{ matrix.python-version }}
pip
condarc: |
channels:
- conda-forge

- name: install package deps
run: |
mamba install numpy scipy mrcfile pytest pytest-cov codecov
micromamba install numpy scipy mrcfile pytest pytest-cov codecov

- name: check install
run: |
Expand All @@ -67,9 +67,10 @@ jobs:
pytest -v --cov=gridData --cov-report=xml --color=yes ./gridData/tests

- name: codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
if: github.event_name != 'schedule'
with:
file: coverage.xml
fail_ci_if_error: True
verbose: True
token: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,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",
]
Expand Down
Loading