forked from Geosyntec/pygridtools
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from phobson/gha-workflows
Gha workflows
- Loading branch information
Showing
10 changed files
with
56 additions
and
31 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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | ||
|
||
name: Run basic unit tests | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.9", "3.10", "3.11", "3.12"] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
# the create command looks like this: | ||
micromamba-version: '2.0.2-2' | ||
environment-name: test-env | ||
create-args: >- | ||
python=${{ matrix.python-version }} | ||
gridgen | ||
numpy | ||
matplotlib | ||
pyproj | ||
pytest | ||
coverage | ||
docopt | ||
requests | ||
pyyaml | ||
init-shell: bash | ||
cache-environment: true | ||
post-cleanup: 'all' | ||
- name: Run Python tests | ||
run: python check_pygridtools.py --verbose --durations=10 --strict | ||
shell: bash -el {0} |
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
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
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
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
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 |
---|---|---|
|
@@ -4,14 +4,14 @@ | |
DESCRIPTION = "utilities to facilitate grid generation" | ||
LONG_DESCRIPTION = DESCRIPTION | ||
NAME = "pygridtools" | ||
VERSION = "0.3.1" | ||
VERSION = "0.3.2" | ||
AUTHOR = "Paul Hobson (Geosyntec Consultants)" | ||
AUTHOR_EMAIL = "[email protected]" | ||
URL = "https://github.com/Geosyntec/pygridtools" | ||
DOWNLOAD_URL = "https://github.com/Geosyntec/pygridtools/archive/master.zip" | ||
LICENSE = "BSD 3-clause" | ||
PACKAGES = find_packages() | ||
PLATFORMS = "Python 3.6 and later." | ||
PLATFORMS = "Python 3.9 and later." | ||
CLASSIFIERS = [ | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
|
@@ -20,8 +20,7 @@ | |
"Topic :: Formats and Protocols :: Data Formats", | ||
"Topic :: Scientific/Engineering :: Earth Sciences", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
"Programming Language :: Python", | ||
] | ||
INSTALL_REQUIRES = ['numpy', 'scipy', 'matplotlib', 'fiona', 'pandas', 'geopandas'] | ||
PACKAGE_DATA = {} | ||
|