Skip to content
Merged
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
50 changes: 50 additions & 0 deletions .github/workflows/install-from-conda.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Install from conda-forge
permissions: {}
on:
push:
branches:
- main
schedule:
- cron: "0 4 * * *"

# Required shell entrypoint to have properly configured bash shell
defaults:
run:
shell: bash -l {0}

jobs:
linux:
runs-on: "ubuntu-latest"
if: github.repository == 'NCAS-CMS/pyfive' # avoid GAs in forks
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
# fail-fast set to False allows all other tests
# in the workflow to run regardless of any fail
fail-fast: false
name: Linux Python ${{ matrix.python-version }}
steps:
- uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
with:
python-version: ${{ matrix.python-version }}
miniforge-version: "latest"
use-mamba: true
- name: Record versions
run: |
mamba --version
which conda
which mamba
python -V
- name: Install pyfive
run: mamba install pyfive
- name: Verify installation
run: |
python -c "import pyfive"
- name: Check environment contents
run: |
conda list
pip list
- name: Test p5dump
run: |
which p5dump
p5dump -h
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
# core dependencies
- numpy >=2
- python >=3.10
- typing_extensions
# testing dependencies
- dask
- flask
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ dynamic = [
]
dependencies = [
"numpy>=2",
"typing-extensions",
]
description = "A pure python HDF5 reader"
license = "BSD-3-Clause"
Expand Down
Loading