-
Notifications
You must be signed in to change notification settings - Fork 344
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
Fixture file not found when running on self-hosted runner #1094
Comments
It's unlikely that your issue is caused by Debug action steps: env:
DEBUG: '@cypress/github-action' Debug Cypress: env:
DEBUG: 'cypress:*' Debug action steps and Cypress: env:
DEBUG: '@cypress/github-action, cypress:*' You are also welcome to post your GitHub Actions workflow here to see if there is anything unusual about it. |
Hey @MikeMcC399 , thanks for your comment, following is the actions workflow:
|
Would you like to edit your posting to reformat your workflow so that it is more readable? Use triple backticks and
Your workflow shows an unconventional use of |
I'm going to close this issue. Your workflow specifies for instance: uses: cypress-io/github-action@v6.6.0
with:
install: false
command: node cy-runner.js cypress run --e2e --env envFile=${{ github.event.inputs.environment }},TAGS="${{ github.event.inputs.tags }}"
So, although you are calling |
Thanks @MikeMcC399 for your analysis. |
I'm seeing the problem recenly where my tests running on selfhosted github-runner, fixture file is not found. Locally everything works fine. I'm not able to debug this as well.
I also ssh into the github runner to see if the file is physically present there (here you can see definitions.json is present:
but during running as part of an action I get following error:
Error snapshot:
I upgraded everything to latest and still this problem is there. are there any pointers to debug this?
Cypress - GitHubActions: v6.6.0
CypressVersion: v13.16.1
EDIT:
I added few cy.exec() before the actual line of code:
and the result is below:
The text was updated successfully, but these errors were encountered: