Comments (3)
If you look at the Dockerfiles, they're all running /test.sh, which activates the virtualenv, then runs make clean && make install && test-installed.py .
from docker-images.
Okay, so native is doing in script.sh:
coverage erase
python setup.py clean
CFLAGS="-coverage" python setup.py build_ext --inplace
coverage run --append --include=PIL/* selftest.py
coverage run --append --include=PIL/* -m nose -vx Tests/test_*.py
And Docker is doing from the Makefile:
clean:
python setup.py clean
rm PIL/*.so || true
rm -r build || true
find . -name __pycache__ | xargs rm -r || true
...
install:
python setup.py install
python selftest.py --installed
then test-installed.py calls nose.main()
with no coverage.
So perhaps add this to the Makefile:
install-coverage:
CFLAGS="-coverage" python setup.py build_ext install
python selftest.py --installed
And have the Dockerfiles run:
make clean && make install-coverage && test-installed.py . --with-coverage
from docker-images.
We might be able to pass the CFLAGS in via travis, but the --with-coverage flag will have to be a change in the Dockerfiles.
Do we have all the OS packages we need for coverage in the various builds?
from docker-images.
Related Issues (13)
- To Dos HOT 2
- Proposal: Reduce testing, push on latest rather than stable HOT 3
- Dov HOT 1
- Dependency Dashboard
- Docker removing Open Source projects HOT 3
- PEP 668: externally managed environments
- If I want to use this kind of transform color with option ImageCms.INTENT_ABSOLUTE_COLORIMETRIC, how to code it ? HOT 1
- Arch failing: /usr/lib/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/libgs.so.9) HOT 8
- 스테가노그라피 – 이미지처리
- It’s 2019, test on py3 everywhere
- Docker Hub hacked HOT 3
- Test with GitHub Actions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-images.