-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add json reporter #68
Conversation
Thanks a lot ! I'll have a look at why the build and test job failed. I think its because of my recent changes. In the mean time, you can easily fix the two other tests by running |
I tried a change in another PR that seems to fix the build_and_test job. Could you try that change ? I'm looking at your PR in the mean time and I'll jump back in the discussion. |
What changes should I apply? |
No only the .gthub/workflow/build_and_test file, This is just about fixing the CI job. Sorry that wasn't clear in my first message :) |
@bpetit still have some issue with build_test stage. |
Saw it. I think it's about secrets needed for the job. I'll let you know when I figure that out. |
@bpetit I'm wondering if it's better to write in the file (or display in stdout) at every step. ---- a few moments later ---- @bpetit I commit some changes to gradually write into the file. So even if you kill the program before the timeout you should have a part of the report. |
I'm currently reviewing it and it's great so far ! Thanks !
|
If we keep microwatts and if we add a good doc, is it still relevant to add the unit in the JSON?
That was my idea too. I think it's better to keep raw data.
Yes, I was waiting for your go, so I will add some explanations. |
I think you are right and microwatts would fit more use cases. About the unit, in this form it would not be required. But if we add different data in the json (which may happen as we will surely use it for debugging purposes) it will become important. So we could either add it now, or leave it as it is and just add it when different sort of data are included in the result, to be able to see the difference. Great for the documentation. I think we are synchronized on the "raw data" topic, so give it a shot if you like :) |
@bpetit doc + microwatts pushed |
This is great ! Thanks :) |
Add JSON reporter.
You can use the following options:
If no file is provided, then the JSON is displayed in the console.
If the directory where to create the file does not exist it will fail.
TODO: