-
Notifications
You must be signed in to change notification settings - Fork 351
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
Error: EACCES: permission denied, mkdir '/__w/{repo_name}/{repo_name}/cypress/videos' #480
Comments
Not sure if this is related to #446 |
@Develliot related possibly, but the fix proposed does not address it :( |
For some reason the default video storage path gets screwed up in the Docker image. It seems to point to an unwritable location rather than somewhere it can work with the video compression. If you force the videoStorage config in your .yml file to something usable it seems to work: - name: 'E2E Tests - Chrome'
uses: cypress-io/github-action@v4
with:
install: false
start: npm run cypress:record
browser: chrome
record: true
parallel: true
group: 'E2E - Chrome'
config: videosFolder=/tmp/cypress-videos # <-- Fix for https://github.com/cypress-io/github-action/issues/480 |
trying out fix from cypress-io/github-action#480 (comment)
Can we assume that your issue is now resolved? Your original post didn't include your workflow, so it is difficult to evaluate what may have caused your issue. The example from @hash-bang was using github-action in a non-conventional way with the Also video recording starting with Cypress 13.0.0 is disabled by default, so this may turn out to be less of an issue these days. |
This one can be closed if you wish, I found a work around elsewhere. |
I'm facing the following problem on GitHub Actions when the job reaches this line of code :
npx cypress run -P . -C cypress.json -r spec --record
. The below error message is thrown and the workflow failed (Error: Process completed with exit code 1
)I didn't finf any fix of this on the web, can someone help for that ?
PS: I used the Cypress image :
cypress/browsers:node16.5.0-chrome94-ff93
The text was updated successfully, but these errors were encountered: