-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
test on windows and mac #4269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
test on windows and mac #4269
Changes from 17 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
e2f7764
run arviz compat on mac and windows
MarcoGorelli 0421216
windows too
MarcoGorelli 9170203
run test_distributions_random.py too on mac
MarcoGorelli 907884d
Merge remote-tracking branch 'upstream/master' into windows-test
MarcoGorelli 2872c29
update env file in windows
MarcoGorelli 1fc0bc8
activate correct env
MarcoGorelli f913f75
xfail on Windows
MarcoGorelli 2be485d
xfail -> skipif
MarcoGorelli 33ac2ec
xfail
MarcoGorelli 73ca256
import sys
MarcoGorelli 7fe150f
rename dataset_to_points_dict with DeprecationWarning
michaelosthege 7007aab
fix underlying bug behind DensityDist stackoverflow
michaelosthege 2e46eb2
apply black
michaelosthege 0f21fca
remove unused import
michaelosthege e94b47e
apply black via pre-commit
michaelosthege 432bcda
Merge pull request #7 from michaelosthege/windows-test
MarcoGorelli ccedb61
rewrite dict as literal, use list comprehension
MarcoGorelli 56d43b0
punctuation, naming
MarcoGorelli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,45 @@ | ||
name: arviz-compatibility | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: [master] | ||
|
||
jobs: | ||
pytest: | ||
strategy: | ||
matrix: | ||
os: [windows-latest] | ||
floatx: [float64] | ||
test-subset: | ||
- pymc3/tests/test_distributions_random.py | ||
- pymc3/tests/test_sampling.py | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
TEST_SUBSET: ${{ matrix.test-subset }} | ||
THEANO_FLAGS: floatX=${{ matrix.floatx }},gcc.cxxflags='-march=core2' | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Cache conda | ||
uses: actions/cache@v1 | ||
env: | ||
# Increase this value to reset cache if conda-envs/environment-dev-py37.yml has not changed | ||
CACHE_NUMBER: 0 | ||
with: | ||
path: ~/conda_pkgs_dir | ||
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ | ||
hashFiles('conda-envs/environment-dev-py37.yml') }} | ||
- uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
activate-environment: pymc3-dev-py37 | ||
channel-priority: strict | ||
environment-file: conda-envs/environment-dev-py37.yml | ||
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly! | ||
- run: | | ||
conda activate pymc3-dev-py37 | ||
conda remove arviz -y | ||
pip install git+git://github.com/arviz-devs/arviz.git | ||
python -m pytest -vv --cov=pymc3 --cov-report=xml --cov-report term --durations=50 $TEST_SUBSET |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.