Skip to content

Commit

Permalink
Merge pull request #657 from jGaboardi/try_310
Browse files Browse the repository at this point in the history
attempt Python 3.10 in CI
  • Loading branch information
jGaboardi authored Dec 24, 2021
2 parents 58fabb3 + a5673b9 commit f10f9d0
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
timeout-minutes: 30
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
environment-file: [ci/37.yaml, ci/38.yaml, ci/39.yaml]
os: [ubuntu-latest]
environment-file: [ci/37.yaml, ci/38.yaml, ci/39.yaml, ci/310.yaml, ci/310-BASE.yaml, ci/310-DEV.yaml]
include:
- environment-file: ci/39-BASE.yaml
os: ubuntu-latest
- environment-file: ci/39-DEV.yaml
os: ubuntu-latest
- environment-file: ci/310.yaml
os: macos-latest
- environment-file: ci/310.yaml
os: windows-latest

steps:
- name: checkout repo
uses: actions/checkout@v2
Expand All @@ -41,7 +41,7 @@
environment-file: ${{ matrix.environment-file }}
micromamba-version: 'latest'

- name: install bleeding edge libpysal & esda (only Ubuntu / Python 3.9)
- name: install bleeding edge libpysal & esda (only Ubuntu / Python 3.10)
shell: bash -l {0}
run: |
pip install git+https://github.com/pysal/libpysal.git@master
Expand Down
2 changes: 1 addition & 1 deletion ci/39-BASE.yaml → ci/310-BASE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: test
channels:
- conda-forge
dependencies:
- python=3.9
- python=3.10
# required
- esda
- libpysal
Expand Down
2 changes: 1 addition & 1 deletion ci/39-DEV.yaml → ci/310-DEV.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: test
channels:
- conda-forge
dependencies:
- python=3.9
- python=3.10
# required
- numpy
- pandas>=1.0
Expand Down
27 changes: 27 additions & 0 deletions ci/310.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: test
channels:
- conda-forge
dependencies:
- python=3.10
# required
- esda
- libpysal
- numpy
- pandas>=1.0
- pip
- rtree
- scipy>=1.0
- watermark
# testing/formatting
- black
- codecov
- pytest
- pytest-cov
# optional
- geopandas>=0.7.0
# for docs build action (this env only)
- nbsphinx
- numpydoc
- sphinx
- sphinxcontrib-bibtex
- sphinx_bootstrap_theme
4 changes: 2 additions & 2 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
codecov:
notify:
after_n_builds: 11
after_n_builds: 8
coverage:
range: 50..95
round: nearest
Expand All @@ -18,5 +18,5 @@ coverage:
comment:
layout: "reach, diff, files"
behavior: once
after_n_builds: 11
after_n_builds: 8
require_changes: true
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def setup_package():
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
license="3-Clause BSD",
packages=[package],
Expand Down

0 comments on commit f10f9d0

Please sign in to comment.