-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* CI: test against nightlies * update action, move fiona * rm linting * update docstrings * nep 50 compat * two more fixes
- Loading branch information
1 parent
7d21a22
commit f16cb29
Showing
4 changed files
with
66 additions
and
48 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -11,14 +11,7 @@ on: | |
- cron: "59 21 * * *" | ||
|
||
jobs: | ||
linting: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
- uses: pre-commit/[email protected] | ||
testing: | ||
needs: linting | ||
name: (${{ matrix.os }}, ${{ matrix.environment-file }}) | ||
runs-on: ${{ matrix.os }} | ||
defaults: | ||
|
@@ -36,6 +29,7 @@ jobs: | |
ci/310.yaml, | ||
ci/310-numba.yaml, | ||
ci/311.yaml, | ||
ci/311-dev.yaml, | ||
] | ||
include: | ||
- environment-file: ci/311.yaml | ||
|
@@ -50,22 +44,20 @@ jobs: | |
|
||
steps: | ||
- name: checkout repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: setup micromamba | ||
uses: mamba-org/provision-with-micromamba@main | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
environment-file: ${{ matrix.environment-file }} | ||
micromamba-version: 'latest' | ||
|
||
- name: environment info | ||
shell: bash -l {0} | ||
run: | | ||
micromamba info | ||
micromamba list | ||
- name: spatial versions | ||
shell: bash -l {0} | ||
run: | | ||
python -c "import geopandas; geopandas.show_versions();" | ||
|
This file contains 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,26 @@ | ||
name: test | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python=3.11 | ||
# testing | ||
- pytest | ||
- pytest-cov | ||
- pytest-xdist | ||
- codecov | ||
# optional | ||
- pyproj | ||
- palettable | ||
- zstd | ||
- pip | ||
- pip: | ||
- --pre --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --extra-index-url https://pypi.org/simple | ||
- scipy | ||
- scikit-learn | ||
- pandas | ||
- networkx | ||
- matplotlib | ||
- shapely | ||
- fiona | ||
- git+https://github.com/pysal/libpysal.git@main | ||
- git+https://github.com/geopandas/geopandas.git@main |
This file contains 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 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