Skip to content
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

Support html reporter #1

Open
eleni-salamani opened this issue Nov 14, 2019 · 3 comments
Open

Support html reporter #1

eleni-salamani opened this issue Nov 14, 2019 · 3 comments

Comments

@eleni-salamani
Copy link

Hi,

Many thanks for putting this together!
I am trying out this action for running our collections via API and it works without an issue. We would like however to have the possibility to generate the html reports, e.g. using https://www.npmjs.com/package/newman-reporter-htmlextra .
It would be great if you could also provide the possibility, to just specify the reporter with the corresponding option and be able to get the html/htmlextra report as well.

Many thanks,
Elena

@matt-ball
Copy link
Owner

Hi Elena,

Thanks for dropping this note.

This should be possible right now:
https://github.com/matt-ball/newman-action/blob/master/action.yml#L55

However, I haven't fully tested this part of the functionality hence the Action being an early release. You might need to install the reporter within your workflow first, prior to including the Newman action.

I'll have a think about how we could remove the need for you to do that when I take a look at making some updates next month!

Cheers.

@ajith4it
Copy link

Hi Matt,

Any update on the above said action item??

Regards,
Ajith

@hermanbanken
Copy link

Installing the reporter doesn't work. I think this might be due to the matt-ball/newman-action runner using node 12 and the version installed on the runner being higher. If you install a module globally it becomes only available for that Node version that is installing it.

I was looking at actions/runner#1439 too see which versions the runner actually supports, but it is way to much hassle IMO to add reporters as it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants