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

CI: Accerate GitHub Actions using uv #3676

Merged
merged 11 commits into from
Apr 16, 2024
Merged

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented Apr 16, 2024

Setup uv in the GitHub Actions, saving several minutes compared to pip.

pip:

image

uv:

image

Using uv has some limitations, but it's good to use it in the CI.

@njzjz njzjz added the Test CUDA Trigger test CUDA workflow label Apr 16, 2024
@github-actions github-actions bot removed the Test CUDA Trigger test CUDA workflow label Apr 16, 2024
Copy link

codecov bot commented Apr 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.13%. Comparing base (25435c0) to head (791e95d).

Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #3676      +/-   ##
==========================================
- Coverage   81.89%   78.13%   -3.77%     
==========================================
  Files         508      409      -99     
  Lines       46636    33198   -13438     
  Branches     2952      909    -2043     
==========================================
- Hits        38193    25939   -12254     
+ Misses       7550     6731     -819     
+ Partials      893      528     -365     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@njzjz njzjz added the Test CUDA Trigger test CUDA workflow label Apr 16, 2024
@github-actions github-actions bot removed the Test CUDA Trigger test CUDA workflow label Apr 16, 2024
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@njzjz njzjz added the Test CUDA Trigger test CUDA workflow label Apr 16, 2024
@github-actions github-actions bot removed the Test CUDA Trigger test CUDA workflow label Apr 16, 2024
@njzjz njzjz requested a review from wanghan-iapcm April 16, 2024 03:36
@wanghan-iapcm wanghan-iapcm added this pull request to the merge queue Apr 16, 2024
Merged via the queue into deepmodeling:devel with commit 219b19e Apr 16, 2024
51 checks passed
@njzjz njzjz added this to the v2.2.11 milestone Jul 2, 2024
njzjz added a commit to njzjz/deepmd-kit that referenced this pull request Jul 2, 2024
Setup [`uv`](https://github.com/astral-sh/uv) in the GitHub Actions,
saving several minutes compared to pip.

pip:

![image](https://github.com/deepmodeling/deepmd-kit/assets/9496702/547adb02-1bc2-47fb-953d-24d38e3e986d)

uv:

![image](https://github.com/deepmodeling/deepmd-kit/assets/9496702/6ec6536b-5dcf-44c6-a4b6-c78d08b9c4f8)

Using `uv` has some limitations, but it's good to use it in the CI.

---------

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
(cherry picked from commit 219b19e)
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@njzjz njzjz mentioned this pull request Jul 2, 2024
njzjz added a commit that referenced this pull request Jul 3, 2024
Setup [`uv`](https://github.com/astral-sh/uv) in the GitHub Actions,
saving several minutes compared to pip.

pip:

![image](https://github.com/deepmodeling/deepmd-kit/assets/9496702/547adb02-1bc2-47fb-953d-24d38e3e986d)

uv:

![image](https://github.com/deepmodeling/deepmd-kit/assets/9496702/6ec6536b-5dcf-44c6-a4b6-c78d08b9c4f8)

Using `uv` has some limitations, but it's good to use it in the CI.

---------

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
(cherry picked from commit 219b19e)
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
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