Skip to content

Commit f48c505

Browse files
author
Ke Wu
committed
update github action file
1 parent 527ff14 commit f48c505

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,16 @@ jobs:
99
steps:
1010
- name: checkout repo
1111
uses: actions/checkout@v4
12-
- name: Setup PDM
13-
uses: pdm-project/setup-pdm@v4
12+
- name: Install uv
13+
uses: astral-sh/setup-uv@v4
14+
with:
15+
enable-cache: true # Enable caching for faster builds
16+
version: "latest" # Specify the version of uv to install
1417
# You are now able to use PDM in your workflow
1518
- name: Install dependencies
16-
run: pdm install
19+
run: uv sync
1720
- name: run tests and coverage report
1821
run: |
19-
pdm run test
20-
pdm run cov_report
21-
22+
uv run cov
23+
uv run check_format
24+
uv run badge

0 commit comments

Comments
 (0)