-
Notifications
You must be signed in to change notification settings - Fork 3.3k
chore: use circleci cli to package ci configurations #32462
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
base: develop
Are you sure you want to change the base?
Conversation
…cleci config pack to compose them into the main workflows.yml file
cypress
|
Project |
cypress
|
Branch Review |
use-pack-for-circle
|
Run status |
|
Run duration | 39m 29s |
Commit |
|
Committer | Cacie Prins |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
1
|
|
5
|
|
1012
|
|
0
|
|
19068
|
View all changes introduced in this branch ↗︎ |
Warning
Partial Report: The results for the Application Quality reports may be incomplete.
UI Coverage
44.99%
|
|
---|---|
|
187
|
|
157
|
Accessibility
97.7%
|
|
---|---|
|
4 critical
8 serious
2 moderate
2 minor
|
|
109
|
Tests for review
src/components/Collapsible.cy.tsx • 1 failed test • frontend-shared-ct
Test | Artifacts | |
---|---|---|
An uncaught error was detected outside of a test |
Test Replay
|
commands/files.cy.js • 1 flaky test • 5x-driver-firefox
Test | Artifacts | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/cy/commands/files > #readFile > retries to read when ENOENT |
|
Test | Artifacts | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
... > stops waiting when an xhr request is canceled |
|
Test | Artifacts | |
---|---|---|
... > errors > throws when waiting for 2nd response to route |
Test Replay
|
cypress-origin-communicator.cy.ts • 1 flaky test • app-e2e
react.cy.ts • 1 flaky test • vite-dev-server
Test | Artifacts | |
---|---|---|
Working with vite5.4.18-react > MissingReact: should fail, rerun, succeed |
Test Replay
Screenshots
|
@@ -278,7 +278,7 @@ describe('open', () => { | |||
errCb(err) | |||
|
|||
expect(process.exit).toHaveBeenCalledWith(1) | |||
// eslint-disable-next-line no-console | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
linting was failing without these changes
value: << pipeline.git.branch >> | ||
- not: | ||
matches: | ||
pattern: /^pull\/[0-9]+/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
contributor prs still use the contributor linux-x64 workflow, for now. for an idea about how we can simplify that: #32494
@@ -0,0 +1,2844 @@ | |||
version: 2.1 | |||
|
|||
chrome-stable-version: &chrome-stable-version "140.0.7339.127" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The github action likely needs to be updated that was originally updating the .circleci/workflow
file for the latest browser version. We are also using the yaml
package to format the config. I did some work to port it over in https://github.com/cypress-io/cypress/pull/30989/files so hopefully that paints enough context if/what needs to change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the scripts & left a comment that updating them is necessary in 5fb5125
Additional details
While the line count of the main
workflows.yml
has increased quite a bit, this is becausecircleci config pack
unrolls/expands all anchors in the source yml files.circleci config pack
uses the FYAML convention to be able to break yaml files into smaller, easier to digest chunks.This PR:
.circleci/src/workflows
pull-request
workflow, which at the moment is identical tolinux-x64
except it does not include references to any of the jobs excluded by the main build filtersconfig.yml
to.circleci/src/config
.circleci/src
to a yaml file defined by the directory name in.circleci/
circleci config validate
on these packed yml files, to ensure that they are valid circleci configsSteps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?