Skip to content

Commit

Permalink
Merge pull request #211 from martinfleis/dev-ci
Browse files Browse the repository at this point in the history
CI: include dev env in CI matrix
  • Loading branch information
knaaptime authored May 20, 2024
2 parents 1439e42 + 0875ad8 commit 5efd4c9
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Continuous Integration

on:
push:
branches:
Expand Down Expand Up @@ -28,6 +28,7 @@
ci/310.yml,
ci/311.yml,
ci/312.yml,
ci/312-dev.yml,
]
include:
- environment-file: ci/312.yml
Expand All @@ -47,7 +48,7 @@
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all branches and tags.

- name: setup micromamba
uses: mamba-org/setup-micromamba@v1
with:
Expand All @@ -58,13 +59,13 @@
run: |
micromamba info
micromamba list
- name: spatial versions
run: 'python -c "import geopandas; geopandas.show_versions();"'

- name: install package
run: 'pip install . --no-deps'

- name: run tests
run: |
pytest tobler \
Expand All @@ -76,7 +77,7 @@
--cov-append \
--cov-report term-missing \
--cov-report xml
- name: codecov
uses: codecov/codecov-action@v3
with:
Expand Down
39 changes: 39 additions & 0 deletions ci/312-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: test
channels:
- conda-forge
dependencies:
- python=3.12
- dask
- dask-geopandas
- numpy
- pandas
- rasterio
- rasterstats
- statsmodels
- scipy
- libpysal
- tqdm
- codecov
- pytest-xdist
- coverage
- pytest
- pytest-mpl
- pytest-cov
- twine
- h3-py
- mapclassify
- sphinx>=1.4.3
- sphinxcontrib-bibtex==1.0.0
- sphinx_bootstrap_theme
- numpydoc
- nbsphinx
- joblib
- astropy
- pip
- pip:
# dev versions of packages
- --pre --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --extra-index-url https://pypi.org/simple
- scikit-learn
- scipy
- git+https://github.com/geopandas/geopandas.git@main
- shapely

0 comments on commit 5efd4c9

Please sign in to comment.