Various errors when running in CI #25940
Unanswered
justinsmid
asked this question in
CI setup
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a monorepo with multiple apps and packages that each have their own suite of component tests.
When running these tests in CI using GitHub Actions, we've been running into a bunch of different, inconsistent issues.
Sometimes our tests do run, and the workflow is successful. Other times it fails.
Our current workflow looks like this:
.github/workflows/component_tests.yml
The relevant step is the
Run component tests
step. As mentioned before, sometimes it does work, but others it won't. When it fails, it fails with one of the following errors:Missing library or dependency
This error claims there are missing system dependencies, and refers to https://on.cypress.io/required-dependencies. However, as you can see in my workflow file above, we already install the dependencies listed there before running the tests step.
Failing tests output:
Install system dependencies output:
There was a problem spawning Xvfb
I have also tried using
cypress-io/github-action
, but to no avail:.github/workflows/component_tests.yml
Run tests output
Beta Was this translation helpful? Give feedback.
All reactions