Skip to content

Commit

Permalink
Merge branch 'main' into update-release-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNicholas authored Jun 18, 2024
2 parents 837718a + 7d242a7 commit ccdaecb
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,21 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup Python
id: setup-python
uses: actions/setup-python@v5
- name: Setup micromamba
uses: mamba-org/setup-micromamba@v1
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: pyproject.toml
environment-file: ci/environment.yml
cache-environment: true
create-args: >-
python=${{matrix.python-version}}
- name: Install virtualizarr
run: |
python -m pip install -e ".[test]"
python -m pip install -e . --no-deps
- name: Conda list information
run: |
conda env list
conda list
- name: Running Tests
run: |
Expand Down
28 changes: 28 additions & 0 deletions ci/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: virtualizarr-tests
channels:
- conda-forge
- nodefaults
dependencies:
- h5netcdf
- h5py
- hdf5
- netcdf4
- xarray>=2024.5.0
- kerchunk>=0.2.5
- pydantic
- numpy
- ujson
- packaging
- universal_pathlib
# Testing
- codecov
- pre-commit
- ruff
- pytest-mypy
- pytest-cov
- pytest
- pooch
- scipy
- fsspec
- s3fs
- fastparquet

0 comments on commit ccdaecb

Please sign in to comment.