Skip to content

fix(ci): make CTS only run generated tests #871

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

Merged
merged 1 commit into from
Jul 27, 2022
Merged

Conversation

shortcuts
Copy link
Member

🧭 What and Why

🎟 JIRA Ticket: -

Changes included:

Follow up of #869

The CTS runs everything present in the client CTS folder, as our CI only run tasks for clients that have changed, we need to:

  1. delete every tests present
  2. generate tests for clients that have changed
  3. store tests of clients that have changed

🧪 Test

CI :D

@shortcuts shortcuts self-assigned this Jul 26, 2022
@netlify
Copy link

netlify bot commented Jul 26, 2022

Deploy Preview for api-clients-automation canceled.

Name Link
🔨 Latest commit f497e1c
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/62e0142ea66a2b000914dd76

@algolia-bot
Copy link
Collaborator

algolia-bot commented Jul 26, 2022

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.
You can still access the code generated on main via this commit.

@shortcuts shortcuts enabled auto-merge (squash) July 26, 2022 16:34
@shortcuts shortcuts requested a review from bodinsamuel July 26, 2022 16:34
Copy link
Contributor

@bodinsamuel bodinsamuel left a comment

Choose a reason for hiding this comment

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

Hard to tell if it's not breaking anything 🥶

@shortcuts shortcuts merged commit bdef794 into main Jul 27, 2022
@shortcuts shortcuts deleted the fix/ci-tests-to-store branch July 27, 2022 07:52
@shortcuts
Copy link
Member Author

Hard to tell if it's not breaking anything 🥶

True :/ Those parts are really hard to debug as it runs in only certain scenarios

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.

3 participants