Giter Site home page Giter Site logo

Comments (3)

achimnol avatar achimnol commented on May 27, 2024

Yes, that's the my next plan. 😉

from aiodocker.

achimnol avatar achimnol commented on May 27, 2024

Hmmm, I cannot get it uploading the correct report to codecov.io.
Surely it generates the report at .coverage file on the container's working directory which is mounted from the working copy of the Travis CI instance, but it seems to be uploading an empty report.

In my local docker-compose test, I get:

aiodocker_1  | tests/test_integration.py .....x....
aiodocker_1  |
aiodocker_1  | ----------- coverage: platform linux, python 3.6.1-final-0 -----------
aiodocker_1  | Name                       Stmts   Miss  Cover
aiodocker_1  | ----------------------------------------------
aiodocker_1  | aiodocker/__init__.py          2      0   100%
aiodocker_1  | aiodocker/channel.py          19      0   100%
aiodocker_1  | aiodocker/constants.py         1      0   100%
aiodocker_1  | aiodocker/docker.py          365    130    64%
aiodocker_1  | aiodocker/exceptions.py        9      2    78%
aiodocker_1  | aiodocker/jsonstream.py       28      1    96%
aiodocker_1  | aiodocker/multiplexed.py      31      4    87%
aiodocker_1  | aiodocker/utils.py            37     20    46%
aiodocker_1  | ----------------------------------------------
aiodocker_1  | TOTAL                        492    157    68%
aiodocker_1  |
aiodocker_1  |
aiodocker_1  | ===================== 9 passed, 1 xfailed in 44.71 seconds =====================
aiodocker_aiodocker_1 exited with code 0

I even see .coverage file on the host working copy after finishing docker-compose tests.
Do you have any ideas on this...?

from aiodocker.

achimnol avatar achimnol commented on May 27, 2024

Thanks to @gaopeiliang, we now have the working code coverage report! (fixed via #19)

from aiodocker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.