File tree Expand file tree Collapse file tree 2 files changed +2
-27
lines changed Expand file tree Collapse file tree 2 files changed +2
-27
lines changed Original file line number Diff line number Diff line change 5
5
types : [published]
6
6
7
7
jobs :
8
- test :
9
- runs-on : ubuntu-latest
10
- steps :
11
- - uses : actions/checkout@v4
12
-
13
- - name : Set up Python
14
- uses : actions/setup-python@v5
15
- with :
16
- python-version : ' 3.12'
17
-
18
- - name : Install uv
19
- run : |
20
- python -m pip install --upgrade pip
21
- pip install uv
22
-
23
- - name : Install dependencies
24
- run : |
25
- uv venv
26
- uv pip install ".[dev]"
27
-
28
- - name : Run tests
29
- run : |
30
- uv pip install pytest
31
- pytest
32
-
33
-
34
8
build :
35
- needs : test
36
9
runs-on : ubuntu-latest
37
10
steps :
38
11
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change 20
20
21
21
- name : Install dependencies
22
22
run : |
23
+ uv venv
24
+ . .venv/bin/activate
23
25
uv pip install pytest opencv-python numpy
24
26
uv pip install -e .
25
27
You can’t perform that action at this time.
0 commit comments