-
Notifications
You must be signed in to change notification settings - Fork 4
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 #95 from pastas/dev
Minor update
- Loading branch information
Showing
10 changed files
with
24 additions
and
20 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 |
---|---|---|
|
@@ -54,7 +54,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [3.8, 3.9, "3.10"] | ||
python-version: ["3.8", "3.9", "3.10", "3.11"] | ||
pastas-version: | ||
[ | ||
"git+https://github.com/pastas/[email protected]", | ||
|
@@ -81,7 +81,12 @@ jobs: | |
- name: Run pytest | ||
run: | | ||
pytest | ||
pytest -m "not bgmap" | ||
- name: Test backgroundmap once | ||
if: ${{ matrix.python-version == '3.9' && matrix.pastas-version == 'git+https://github.com/pastas/pastas.git@dev' }} | ||
run: | | ||
pytest -m "bgmap" | ||
- name: Run codacy-coverage-reporter | ||
if: ${{ github.repository == 'pastas/pastastore' && success() }} | ||
|
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
[pytest] | ||
addopts=--durations=0 --cov-report xml:coverage.xml --cov pastastore -v | ||
addopts=--durations=0 --cov-report xml:coverage.xml --cov pastastore -v | ||
markers = | ||
bgmap: test tile download for background map |
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 |
---|---|---|
|
@@ -6,6 +6,10 @@ | |
import pytest | ||
|
||
import pastastore as pst | ||
import arcticdb_ext | ||
|
||
# prevent segmentationfault in GH Actions | ||
arcticdb_ext.set_config_int("VersionStore.NumIOThreads", 1) | ||
|
||
# "arctic" and "pystore" removed for CI, can be tested locally | ||
params = ["dict", "pas", "arcticdb"] | ||
|
@@ -134,7 +138,7 @@ def has_pkg(pkg): | |
""" | ||
Determines if the given Python package is installed. | ||
Originally written by Mike Toews ([email protected]) for FloPy. | ||
Originally written by Mike Toews for FloPy. | ||
""" | ||
if pkg not in _has_pkg_cache: | ||
# for some dependencies, package name and import name are different | ||
|
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