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

feat: improve circle ci #949

Merged
merged 28 commits into from
Aug 26, 2023
Merged

feat: improve circle ci #949

merged 28 commits into from
Aug 26, 2023

Conversation

jiashenC
Copy link
Member

@jiashenC jiashenC commented Aug 25, 2023

Test folder reorg

test
|__ unit_tests
|__ integration_tests
     |__ short
     |__ long

For open PR, we will run unit tests and short integration tests.

Once it is merged to staging branch, we will run long integration tests across different versions and with both ray disabled or enabled.

Once it passes, it will be merged to master, which will run full test (unit tests + all integration tests) with different python version and with both ray disabled and enabled.

The testing for open PR is now around 8 mins, but majority of it is installing package. I plan to also add cache for that but it is not really working now.

@gaurav274 gaurav274 added this to the v0.3.2 milestone Aug 25, 2023
@jiashenC jiashenC modified the milestones: v0.3.2, v0.3.3 Aug 25, 2023
@xzdandy
Copy link
Collaborator

xzdandy commented Aug 25, 2023

What is the staging branch we are going to use? Can we set up the repo so that is the default?

@jiashenC
Copy link
Member Author

What is the staging branch we are going to use? Can we set up the repo so that is the default?

I think we can set up the rule once the new release is cut and when this is fully ready. Otherwise, it can impact other WIP PRs.

@jiashenC
Copy link
Member Author

Should be ready.

With pip wheel cache enabled, CI runs under 5mins for an open PR.

@jiashenC jiashenC merged commit aead32d into master Aug 26, 2023
@jiashenC jiashenC deleted the improve-circle-ci branch August 26, 2023 14:06
aryan-rajoria pushed a commit that referenced this pull request Aug 27, 2023
Test folder reorg
```
test
|__ unit_tests
|__ integration_tests
     |__ short
     |__ long
```

For open PR, we will run unit tests and short integration tests. 

Once it is merged to staging branch, we will run long integration tests
across different versions and with both ray disabled or enabled.

Once it passes, it will be merged to master, which will run full test
(unit tests + all integration tests) with different python version and
with both ray disabled and enabled.

The testing for open PR is now around 8 mins, but majority of it is
installing package. I plan to also add cache for that but it is not
really working now.

---------

Co-authored-by: xzdandy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants