Skip to content

Commit 6127fd6

Browse files
committed
Added stubtest in test suite.
1 parent 63f184b commit 6127fd6

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,33 @@ jobs:
4949
with:
5050
token: ${{secrets.GITHUB_TOKEN}}
5151
deny: warnings
52+
stubtest:
53+
runs-on: ubuntu-latest
54+
steps:
55+
- uses: actions/checkout@v6
56+
- uses: actions-rs/toolchain@v1
57+
with:
58+
toolchain: stable
59+
components: clippy
60+
override: true
61+
- uses: actions/setup-python@v6
62+
with:
63+
python-version: 3.x
64+
- name: Install uv
65+
uses: astral-sh/setup-uv@v7
66+
- id: setup-venv
67+
name: Setup virtualenv
68+
run: python -m venv .venv
69+
- name: Build lib
70+
uses: PyO3/maturin-action@v1
71+
with:
72+
command: dev --uv
73+
sccache: true
74+
- name: Run stubtest
75+
run: |
76+
set -e
77+
source .venv/bin/activate
78+
stubtest --ignore-disjoint-bases natsrpy
5279
pytest:
5380
runs-on: ubuntu-latest
5481
steps:

0 commit comments

Comments
 (0)