Comments (3)
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.
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.
Significantly improved in 1.14.0, please update and provide feedback
from wily.
Related Issues (20)
- wily version not displayed in help text
- Reports show git commits in the wrong order
- Wily reports on the CLI show columns in unpredictable order
- Wily console output shows values in green when they get worse and red when they get better. HOT 1
- Rank command missing from docs HOT 1
- Red and green colours flipped in usage HOT 2
- wily's temp files seem to sometimes conflict with git checkout HOT 1
- Alternative Complexity Measures HOT 2
- report metrics by function, method or class
- Wily fails when enabled on GitHub workflow HOT 8
- Cant install wily due to dependency conflict with Click <8.0 HOT 4
- Cant install wily due to dependency conflict with progress 1.6
- Package Wily on conda-forge? HOT 3
- class complexity behaviour
- Return results for diff and rank methods HOT 1
- Click version not matching in pyproject.toml HOT 2
- `wily build` alway return `No data collected` for all operators HOT 3
- Add Code of Conduct
- Wily fails to setup archiver sometimes HOT 5
- In-line visualization of maintainability index HOT 1
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 wily.