Git Product home page Git Product logo

ci's People

Contributors

rosenbrockc avatar

Stargazers

 avatar

Watchers

 avatar

ci's Issues

Verbose Output

The script ci.py has a switch for switching to verbose output mode. However, none of the functions coded so far support any level of verbosity. This is something that isn't critical at this point, but would be nice to have for debugging other user's installations (really, any respectable code has verbose output).

Shields Web URL

It would be useful to have the CI server be able to return the URL to a shield to post on the README page of a repo being monitored (like Travis and all of the others do). This is easy using:

https://img.shields.io/badge/Test%20Coverage-100-green.svg

We just need to have the latest scores written to JSON and then deserialized by the web page to return the URL with the appropriate fields replaced. Probably we would need to add one option to the config file that specifies the command to run on the repo's master to get the coverage etc. and the latest test scores.

Awkward question

Hi @rosenbrockc

So this is a bit weird, but i am developing a python application and strangely enough, i called it Py-CI.
I noticed you are the owner of that project name on PyPi.

Is there any chance we can discuss about maybe giving the ownership for that project to me?

Much obliged.

๐Ÿ‘

Handling Detailed Output from Unit Tests

The initial CI server is almost ready. However, I just realized that we need to discuss one more aspect. So far, I programmed the server to keep track of the output from stdout when running each unit test. That output is kept in memory until the wiki page with the unit test details is created. My original idea was to upload the contents of stdout for each test to a file on the wiki and then just link to it from the test results page.

That still seems like a viable possibility except that for some of the unit tests the output can be quite large. Do we place limitations on the size of the files we want to upload? If fortpy handles the unit testing, it provides summary information and will write out compilation errors or warnings and that output is usually small. But what about output from other programs? For example, the Wang Landau in UNCLE once produced a file that was 135GB!

Question: if the files are larger than 1MB, do we upload only part of them? If so, which part? If not, do we just say the file was too big? Do we remove it from the server then, or move it to some archive?

Serial Execution of Commands

The default (current) implementation only allows the unit tests to be run in parallel with the multiprocessing module. However, the global settings allow for serial processing. It is implemented in the ci.py script, but not in the pyci.server module.

Timeout Implementation

Although the repo settings allow for a timeout to be specified (after which any unit tests still running are forcible terminated), the pyci.server module currently doesn't implement this except in analyzing the run times returned in the execution statistics. The process termination still needs to be implemented.

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.