Skip to content

Commit 24f8811

Browse files
committed
ci: test both legacy and uv install scripts
1 parent 62b4447 commit 24f8811

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

.github/workflows/static-test-install.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: basic install
22

33
on: [push, pull_request]
44
jobs:
5-
docs_to_gh-pages:
5+
test-install-uv:
66
runs-on: ubuntu-latest
77
name: basic install of compressai-vision (torch cpu)
88
steps:
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
python-version: '3.8'
1717

18-
- name: install dependencies pip
18+
- name: install detectron2 and project with pip for test
1919
run: |
20-
python3 -m pip install -U pip
2120
bash scripts/install.sh -m detectron2 --no-weights
21+
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: basic install
2+
3+
on: [push, pull_request]
4+
jobs:
5+
test-install:
6+
runs-on: ubuntu-latest
7+
name: basic install of compressai-vision with uv (torch cpu)
8+
steps:
9+
- uses: actions/checkout@v4
10+
with:
11+
submodules: recursive
12+
13+
- name: Install uv
14+
uses: astral-sh/setup-uv@v5
15+
with:
16+
python-version: '3.8'
17+
18+
- name: install detectron2 and project with uv
19+
run: |
20+
uv run bash scripts/install_uv.sh -m detectron2 --no-weights
21+

0 commit comments

Comments
 (0)