File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Run petdeface on test data
2+
3+ on :
4+ workflow_dispatch :
5+ pull_request :
6+ paths :
7+ - ' petdeface/**'
8+ - ' pyproject.toml'
9+ - ' uv.lock'
10+
11+ jobs :
12+ test-petdeface :
13+ runs-on : self-hosted
14+
15+ steps :
16+ - name : Checkout repository
17+ uses : actions/checkout@v4
18+
19+ - name : Setup Python
20+ uses : actions/setup-python@v4
21+ with :
22+ python-version : ' 3.10'
23+
24+ - name : Install uv
25+ uses : astral-sh/setup-uv@v3
26+ with :
27+ version : latest
28+
29+ - name : Build package with uv
30+ run : |
31+ uv build
32+
33+ - name : Install package with uv pip
34+ run : |
35+ uv pip install dist/*.whl
36+
37+ - name : Create output directory
38+ run : |
39+ mkdir -p data_defaced
40+
41+ - name : Run petdeface on test data
42+ run : |
43+ petdeface petdeface/data/ data_defaced/ --participant-label sub-01
44+
You can’t perform that action at this time.
0 commit comments