File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI/Test
2+
3+ on :
4+ workflow_dispatch :
5+ pull_request :
6+ push :
7+ branches :
8+ - main
9+
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : true
13+
14+ permissions :
15+ contents : read
16+
17+ jobs :
18+ test :
19+ name : python
20+ runs-on : ubuntu-latest
21+
22+ steps :
23+ - name : Checkout repository
24+ uses : actions/checkout@v4
25+
26+ - name : Install the latest version of uv
27+ id : setup-uv
28+ uses : astral-sh/setup-uv@v6
29+ with :
30+ version : " latest"
31+ enable-cache : true
32+ cache-suffix : " docbuild"
33+
34+ - name : Print the installed version
35+ run : echo "Installed uv version is ${{ steps.setup-uv.outputs.uv-version }}"
36+
37+ - name : Install dependencies
38+ run : uv sync --frozen --group devel
39+
40+ - name : Run tests
41+ run : |
42+ uv run pytest -vv
You can’t perform that action at this time.
0 commit comments