-
Notifications
You must be signed in to change notification settings - Fork 5
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
update numir.io test #21
Conversation
no numpy enviroment$ dub test
Generating test runner configuration 'numir-test-library' for 'library' (library).
Excluding package.d file from test due to https://issues.dlang.org/show_bug.cgi?id=11847
Performing "unittest" build using ldc2 for x86_64.
mir-algorithm 0.6.21: target for configuration "library" is up to date.
mir-random 0.2.8: target for configuration "library" is up to date.
numir 0.0.7: building configuration "numir-test-library"...
Running pre-build commands...
Traceback (most recent call last):
File "test_npy_fileio.py", line 1, in <module>
import numpy
ImportError: No module named numpy
To force a rebuild of up-to-date targets, run again with --force.
Running ./numir-test-library
WARNING: install numpy to test numir.io
WARNING: install numpy to test numir.io
All unit tests have been run successfully. numpy installed environment$ source ~/tool/anaconda3/bin/activate
$ dub test
Generating test runner configuration 'numir-test-library' for 'library' (library).
Excluding package.d file from test due to https://issues.dlang.org/show_bug.cgi?id=11847
Performing "unittest" build using ldc2 for x86_64.
mir-algorithm 0.6.21: target for configuration "library" is up to date.
mir-random 0.2.8: target for configuration "library" is up to date.
numir 0.0.7+commit.1.g7ecbc83: building configuration "numir-test-library"...
Running pre-build commands...
To force a rebuild of up-to-date targets, run again with --force.
Running ./numir-test-library
All unit tests have been run successfully. |
@ShigekiKarita It looks like I still get a message about python not being installed, unless I make adjustments as before. EDIT: Note that I did this with a plain This is what I get when I run it:
|
Thank you. I will create my local windows D environment and solve this error on this weekend. |
@ShigekiKarita I can also try to reproduce it again tonight and see if it is still an issue. |
I just tried running
|
I got very different error with dmd 2.078.3 😥 on Windows7
|
I could run
I found the problem is preBuildCommands
This change allows to fail
|
The travis-CI failure seems to be relevant with ddox's vibe-d issue vibe-d/vibe.d#2058 |
Codecov Report
@@ Coverage Diff @@
## master #21 +/- ##
==========================================
- Coverage 99.92% 99.77% -0.16%
==========================================
Files 10 10
Lines 1321 1325 +4
==========================================
+ Hits 1320 1322 +2
- Misses 1 3 +2
Continue to review full report at Codecov.
|
@ShigekiKarita I'm only seeing a codecov failure (which can be ignored). It looks like Travis is passing. There's only one small change I would recommend. The warning |
Ah, I see what you were talking about now. Nevermind. |
address the issues reported in #19