We are executing Percy visual tests within our Cypress end-to-end test framework and are using the Percy exec-action in our GitHub Actions workflow. Tests run fine when the workflow is triggered on a pull request, but not on a schedule.
Here's our GitHub workflow setup for the trigger:
name: E2E Testing
on:
schedule:
# Run at 6am, 10am, 2pm, and 6pm every day
- cron: "0 6,10,14,18 * * *"
And here is the log from when GitHub Actions executes percy/exec-action@v0.1.0
We are executing Percy visual tests within our Cypress end-to-end test framework and are using the Percy exec-action in our GitHub Actions workflow. Tests run fine when the workflow is triggered on a pull request, but not on a schedule.
Here's our GitHub workflow setup for the trigger:
And here is the log from when GitHub Actions executes
percy/exec-action@v0.1.0
The issue might be here: https://github.com/percy/exec-action/blob/master/src/index.js#L17