File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,13 +14,21 @@ jobs:
1414 - black
1515 - ruff
1616 - mypy
17+ - stubtest
1718 runs-on : ubuntu-latest
1819 steps :
1920 - uses : actions/checkout@v6
2021 - name : Set up Python
2122 uses : actions/setup-python@v4
2223 with :
23- python-version : " 3.11"
24+ python-version : " 3.x"
25+ - uses : actions-rs/toolchain@v1
26+ with :
27+ toolchain : stable
28+ components : clippy
29+ override : true
30+ - name : Install uv
31+ uses : astral-sh/setup-uv@v7
2432 - name : Run lint check
2533 uses : pre-commit/action@v3.0.0
2634 with :
5260 with :
5361 token : ${{secrets.GITHUB_TOKEN}}
5462 deny : warnings
55- stubtest :
56- runs-on : ubuntu-latest
57- steps :
58- - uses : actions/checkout@v6
59- - uses : actions-rs/toolchain@v1
60- with :
61- toolchain : stable
62- components : clippy
63- override : true
64- - uses : actions/setup-python@v6
65- with :
66- python-version : 3.x
67- - name : Install uv
68- uses : astral-sh/setup-uv@v7
69- - id : setup-venv
70- name : Setup virtualenv
71- run : python -m venv .venv
72- - name : Build lib
73- uses : PyO3/maturin-action@v1
74- with :
75- command : dev --uv
76- sccache : true
77- - name : Run stubtest
78- run : |
79- set -e
80- source .venv/bin/activate
81- stubtest --ignore-disjoint-bases natsrpy
8263 pytest :
8364 runs-on : ubuntu-latest
8465 steps :
You can’t perform that action at this time.
0 commit comments