-
Notifications
You must be signed in to change notification settings - Fork 104
test: remove duplicate checkout in Verify resource_class config works #547
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
test: remove duplicate checkout in Verify resource_class config works #547
Conversation
|
6ad4657
to
562ac2d
Compare
562ac2d
to
ab2951a
Compare
This comment was marked as outdated.
This comment was marked as outdated.
ab2951a
to
e6f0fb3
Compare
e6f0fb3
to
15dfb37
Compare
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.
is this because the checkout is in the job above it here?
No, that's not the case. Each of these jobs runs separately. You can check this out if you view the logs.
|
@MikeMcC399 OK I can see it in the |
I don't know if I'm really the right person to be explaining the Cypress orb. I'm continually working at the edge of my comfort zone! This is what I see, attempting to analyze the hierarchy of calls: In the circleci-orb/.circleci/test-deploy.yml Line 146 in e67d53f
uses the predefined Cypress orb job cypress/run which includes commands cypress/install and cypress/run-tests The circleci-orb/src/commands/install.yml Lines 57 to 60 in e67d53f
which includes the CircleCI checkout key. |
@MikeMcC399 OK this makes sense now. Going to approve and merge this in. Thank you! |
Situation
Verify resource_class config works
in .circleci/test-deploy.yml executes the step "Checkout code" twiceChange
In the job
Verify resource_class config works
in .circleci/test-deploy.yml job, remove the parameter:Verification
View the log of the "Verify resource_class config works" job and confirm that "Checkout code" only appears once, not twice.