-
Notifications
You must be signed in to change notification settings - Fork 1
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
cucumber-json-formatter doesn't work in github actions #3
Comments
Ok, update: if you split steps and create separate step for PATH, after that it doesn't throw error, but formatter doesn't show anything... 🤔 |
And final message - I create issue for that in |
Interesting, I think I remember experiencing something similar, and that's why I removed the Although I think the issue belongs more to GitHub Actions than to cucumber/json-formatter because of this
|
What happens if you try on this line this instead? |
Yup, well, if standalone
^^ I tried this and it returns error |
got it, next week I'll see if I find anything different but thanks for looking into it! Will definitely follow the issue you raised with them 👍 |
Hey, I was trying your script from and it seems that it doesn't work properly. I tried to debug and check this - https://github.com/vojtech-cerveny/cypress-cucumber-framework/actions/runs/3548944356/jobs/5960727834
I only added
cucumber-json-formatter --help
to verify, that it works properly and it fails.https://github.com/vojtech-cerveny/cypress-cucumber-framework/blob/master/.github/workflows/automation.yml#L40
it seems, that
cucumber-json-formatter
is not on PATH and it doesn't work. It works locally, but not on Github Actions.Also it means, that it doesn't generate json file from
ndjson
fromcypress-preprocessor
- it is pitty that it doesn't return any error, but it is what it is :)The text was updated successfully, but these errors were encountered: