-
Notifications
You must be signed in to change notification settings - Fork 102
Suggestion: Use tox and pytest #178
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
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
868a3b6
Run tests via tox and py.test
tkf 760b37f
Use tox in Travis
tkf 6ba510a
Use tox in AppVeyor
tkf 8cd23ef
Add PYJULIA_TEST_REBUILD to recompile PyCall
tkf 0b74ff7
Disable capturing for now
tkf ed2bc40
Pass JULIA_EXE through tox.ini
tkf 443a1e5
Travis style versioning in ci/install-julia.sh
tkf eea501c
Use a script to rebuild PyCall.jl
tkf 065da2d
More debugging info about Python interpreter
tkf d2c09e6
Use "python -m pytest" in tox
tkf 7debfc5
Move with_rebuilt script to a module
tkf 6b85857
Pass around Julia runtime path
tkf 335f297
Don't show stack-trace from julia.with_rebuilt
tkf 7b85b27
Flush stderr in Julia._debug
tkf 0f93abb
Avoid pytest hiding debug message
tkf ce20138
Smoke test with IPython; fix a bug in JuliaImporter
tkf adcd1ae
Fix AppVeyor configuration
tkf 592d79d
Fix comparison of the interpreter paths in Windows
tkf adf4b91
Fix env for Python 2.7 + Windows
tkf ea1402e
Flush stdout in julia.with_rebuilt
tkf 8a9ca94
Test success paths of IPython magics
tkf 3cf7fd1
Fix exception printing
fperez 9122090
Test failure paths of IPython magics
tkf f446ff9
Fix exe_differs check
tkf d958dea
Add Testing section in README
tkf 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,7 @@ pip-log.txt | |
|
|
||
| # Unit test / coverage reports | ||
| .coverage | ||
| .pytest_cache | ||
| .tox | ||
| nosetests.xml | ||
|
|
||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| @C:\Python27\python.exe %* |
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 @@ | ||
| @C:\Python35\python.exe %* |
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 @@ | ||
| @C:\Python27-x64\python.exe %* |
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 @@ | ||
| @C:\Python35-x64\python.exe %* | ||
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made
ci/appveyor/win*/python*.batfiles, following the recommendation here:https://tox.readthedocs.io/en/latest/developers.html#id2
tox-dev/tox#114 (comment)
Note that adding CI support for Python 3.6 and 3.7 requires adding more of those files.