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

chore(circleci): split unit/integration tests #700

Merged
merged 4 commits into from
Aug 31, 2022
Merged

Conversation

samouss
Copy link

@samouss samouss commented Aug 29, 2022

Q A
Bug fix? no
New feature? no
BC breaks? no
Related Issue -
Need Doc update no

Describe your change

This PR split the unit tests and the integration tests in CircleCI into dedicated jobs: unit-tests & integration-tests.

What problem is this fixing?

The integrations-tests require credentials, and those credentials are NOT forwarded to fork pull requests. It means that ALL pull requests made by any external contributor is failing from the CI point of view. The idea is to disable the integrations tests suite on fork pull request because anyway they won't pass (see CircleCI documentation).

Next steps

We have to change the required checks from test-1.XX to unit-tests-1.XX. The integration tests become optional but since they cannot run on every PRs anyway it makes no sense to have them required. If they are failing it's our responsibility to check the output.

@samouss samouss marked this pull request as ready for review August 29, 2022 14:07
@samouss samouss requested a review from VladislavFitz August 29, 2022 14:07
@VladislavFitz
Copy link

LGTM, I changed the required checks, feel free to merge.

@samouss samouss merged commit f444505 into master Aug 31, 2022
@samouss samouss deleted the chore/split-test-jobs branch August 31, 2022 05:49
mehmetaligok pushed a commit that referenced this pull request May 3, 2023
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.

2 participants