Skip to content
Merged
Changes from 3 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
77e5dc5
Update CI workflow to utilize UV for Python package management and te…
aniketmaurya Jul 1, 2025
20cd348
fiix
aniketmaurya Jul 1, 2025
3838fb2
fix
aniketmaurya Jul 1, 2025
c99a59e
updae
aniketmaurya Jul 1, 2025
c615787
upgrade uv
aniketmaurya Jul 1, 2025
eaec97b
add env
aniketmaurya Jul 1, 2025
ff33c3a
Merge branch 'main' into faster-ci-with-uv
aniketmaurya Jul 1, 2025
ba61048
fix
aniketmaurya Jul 1, 2025
19e687f
update
aniketmaurya Jul 1, 2025
ce76130
fix
aniketmaurya Jul 1, 2025
624de5d
fix
aniketmaurya Jul 1, 2025
7600c9a
up
aniketmaurya Jul 1, 2025
058fdeb
Update project configuration and dependencies in pyproject.toml and .…
aniketmaurya Jul 1, 2025
000b696
Merge branch 'main' into faster-ci-with-uv
aniketmaurya Jul 1, 2025
8378946
Merge branch 'migrate-uv' into faster-ci-with-uv
aniketmaurya Jul 1, 2025
ad5c537
update
aniketmaurya Jul 1, 2025
bd1681a
Refactor project configuration by consolidating setup into pyproject.…
aniketmaurya Jul 1, 2025
cd655af
fix
aniketmaurya Jul 1, 2025
7cf8a03
fix
aniketmaurya Jul 1, 2025
eafb4b7
fic ci
aniketmaurya Jul 1, 2025
d8677eb
fix
aniketmaurya Jul 2, 2025
be5385b
update
aniketmaurya Jul 2, 2025
f5dc4a4
Merge branch 'main' into faster-ci-with-uv
aniketmaurya Jul 2, 2025
0a0ca9b
fix
aniketmaurya Jul 2, 2025
00ff528
Merge branch 'main' into faster-ci-with-uv
aniketmaurya Jul 8, 2025
0770334
sync
aniketmaurya Jul 8, 2025
1b992e4
fix
aniketmaurya Jul 8, 2025
9009bf9
fix
aniketmaurya Jul 8, 2025
4b7e683
fix azure
aniketmaurya Jul 8, 2025
168dc12
fix requirements
aniketmaurya Jul 9, 2025
93a346f
fix toml
aniketmaurya Jul 9, 2025
ee76360
backward compatibility
aniketmaurya Jul 9, 2025
890c178
fix
aniketmaurya Jul 9, 2025
99d09eb
fix ci
aniketmaurya Jul 9, 2025
b6c6d44
fix gpu test
aniketmaurya Jul 9, 2025
256cacb
fix python script subprocess
aniketmaurya Jul 9, 2025
2efcd81
update
aniketmaurya Jul 9, 2025
a2c2e8e
fix gpu test
aniketmaurya Jul 9, 2025
e4bba1e
fix gpu
aniketmaurya Jul 9, 2025
8a4f787
Apply suggestions from code review
Borda Jul 9, 2025
dd5a323
Apply suggestions from code review
Borda Jul 9, 2025
47b9965
cat requirements.txt
Borda Jul 9, 2025
e068929
list before and after
aniketmaurya Jul 9, 2025
37ae942
echo
Borda Jul 9, 2025
f4c4e78
echo
Borda Jul 9, 2025
fd8e804
remove min dep
aniketmaurya Jul 9, 2025
3e249a6
Update ci-testing.yml
Borda Jul 9, 2025
d49312d
fixes
aniketmaurya Jul 9, 2025
9c130bc
Merge branch 'faster-ci-with-uv' of github.com:Lightning-AI/LitServe …
aniketmaurya Jul 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions .github/workflows/ci-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,33 +29,36 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: astral-sh/setup-uv@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
enable-cache: true

- name: Set min. dependencies
if: matrix.requires == 'oldest'
run: |
pip install 'lightning-utilities[cli]'
python -m lightning_utilities.cli requirements set-oldest --req_files='["requirements.txt", "_requirements/test.txt"]'
uv pip install 'lightning-utilities[cli]'
uv run python -m lightning_utilities.cli requirements set-oldest --req_files='["requirements.txt", "_requirements/test.txt"]'

- name: Install package & dependencies
run: |
pip --version
pip install -e '.[test]' -U -q --find-links $TORCH_URL
pip list
uv pip install -e '.[test]' -U -q --find-links $TORCH_URL
uv pip list

- name: Tests
timeout-minutes: 15
run: |
python -m pytest --cov=litserve src/ tests/ -v -s --durations=100
uv run pytest --cov=litserve src/ tests/ -v -s --durations=100

- name: Statistics
run: |
coverage report
coverage xml
uv run coverage report
uv run coverage xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
Expand Down
Loading