-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* starting to switch to tox for tests * tox tweaks * Update tests.yml * getting arviz versions working * trying to get coverage working * coverage settings * coveralls * be faster for now * don't run combine * token * flags * service * conf * dunno * um? * run all the tests again * coverage * skip version file * ignore * all tests * omit properly * path filters * path filters
- Loading branch information
Showing
9 changed files
with
125 additions
and
99 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,10 +4,8 @@ on: | |
push: | ||
branches: | ||
- main | ||
- joss | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- "joss/**" | ||
|
||
jobs: | ||
joss: | ||
|
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 was deleted.
Oops, something went wrong.
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,4 +1,5 @@ | ||
[pytest] | ||
testpaths = "tests" | ||
addopts = | ||
-v | ||
filterwarnings = | ||
|
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
[tox] | ||
envlist = py{38,39}-pymc{39,310,311,dev},lint | ||
|
||
[gh-actions] | ||
python = | ||
3.8: py38 | ||
3.9: py39 | ||
|
||
[gh-actions:env] | ||
PYMC_VERSION = | ||
3.9: pymc39 | ||
3.10: pymc310 | ||
3.11: pymc311 | ||
dev: pymcdev | ||
|
||
[testenv] | ||
passenv = GITHUB_* | ||
deps = | ||
pymc{39,310}: arviz<0.11 | ||
pymc39: pymc3~=3.9.0 | ||
pymc310: pymc3~=3.10.0 | ||
pymc311: pymc3~=3.11.0 | ||
pymcdev: https://github.com/pymc-devs/pymc3/archive/v3.zip | ||
extras = test | ||
commands = | ||
pip freeze | ||
python -m coverage run -m pytest -v {posargs} | ||
|
||
[testenv:lint] | ||
skip_install = true | ||
deps = pre-commit | ||
commands = | ||
pre-commit run --all-files |