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

Add CI for testing on PRs #211

Closed
wants to merge 2 commits into from

Conversation

tmyracle
Copy link
Contributor

@tmyracle tmyracle commented Jan 23, 2024

Addresses #178

Tested on my forked repo: https://github.com/tmyracle/maybe/actions/runs/7621318372

CleanShot 2024-01-29 at 11 09 33

Steps that still need to be done by someone with access to the repo settings:

  • Create an Environment in the Maybe repo settings called "Testing"
  • Add the secrets that are being called from secrets in the yaml file
  • Add branch protection rule to main to require the workflow to succeed before merging

The run on this PR will fail until the secrets are added, but should succeed after that. Don't want to merge until the secrets have been configured.

"ci": {
"headed": true,
"browser": "chrome"
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was one test that was having issues running in headless electron mode, but ran fine on my machine. Running the tests headed on Chrome fixed it. Some discussion here cypress-io/cypress#8606 (comment)

@tmyracle tmyracle linked an issue Jan 26, 2024 that may be closed by this pull request
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add test validation CI to PRs
2 participants