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

feat: added support for nyc configuration throw environment variables #746

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

filipomar
Copy link

This PR introduces the ability to configure nyc through environment variables, requiring the maintenance of one less configuration file.

Such as:
NYC_CONFIG="{\"report-dir\":\"coverage/cypress\",\"temp-dir\":\"coverage/temp\"}" npm run your:testing:task

@cypress-app-bot
Copy link

@jennifer-shehane
Copy link
Member

@filipomar Could you add a test for this scenario?

@filipomar
Copy link
Author

@jennifer-shehane sure, just feels like I am about to ask something dumb but:

I attempted to follow the docs instructions, but they seem to be outdated. Are they or am I missing something?

More over, I tried to find a PR akin to the change I'm trying to introduce, do you have a an example I can mirror? Or some basic set of instructions?

@filipomar
Copy link
Author

Hey @jennifer-shehane do you have an update on this?

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

Successfully merging this pull request may close these issues.

3 participants