Giter Club home page Giter Club logo

Comments (3)

tonybaloney avatar tonybaloney commented on July 17, 2024

if you're running inside a pipeline, then I would only index 1 revision, by default it will index 50 revisions, and if you only care about the last commit, then this is a waste of resources.

wily build -n 1 <dest>

I'm not sure what you mean about the arguments, please could you provide an example of what you're trying to do?

from wily.

bohdansolovey avatar bohdansolovey commented on July 17, 2024

if you're running inside a pipeline, then I would only index 1 revision, by default it will index 50 revisions, and if you only care about the last commit, then this is a waste of resources.

wily build -n 1 <dest>

I'm not sure what you mean about the arguments, please could you provide an example of what you're trying to do?

hello, i try to get some metrics in the gitlab ci pipeline, so i clone my repo in some directory in docker image( i can get history of commits)
`

test wily:
  image: python:3.7
  stage: test
  before_script:
    - git checkout backend/dev_test_metrics
    - pip install wily
    - python -m wily build -n 1
  script:
    - find ./backend/api -name "*s.py" ! -name "*test*" | xargs python -m wily diff  --changes-only --no-detail
    - python -m wily report -n 1 backend/api/v1 # now better than diff
    #- docker pull $CONTAINER_TEST_IMAGE
    #- docker run  --rm $CONTAINER_TEST_IMAGE /bin/bash -c "; find ./backend/api -name "*s.py" ! -name "*test*" | xargs python -m wily diff  --changes-only --no-detail "

and i want to pass arguments in standart way, not like in exampe( i dont need metrics for my tests etc).
IN general, i need to see changes in code like with pre-commit, but when i use gitlab ci, and i try to implement this

from wily.

tonybaloney avatar tonybaloney commented on July 17, 2024

Significantly improved in 1.14.0, please update and provide feedback

from wily.

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.