File tree Expand file tree Collapse file tree 4 files changed +40
-52
lines changed
Expand file tree Collapse file tree 4 files changed +40
-52
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ name: PR Tests
22
33on :
44 pull_request :
5- push :
6- branches : [main]
75
86jobs :
97 lint :
Original file line number Diff line number Diff line change @@ -12,15 +12,11 @@ jobs:
1212 test :
1313 uses : ./.github/workflows/test.yml
1414
15- docs :
16- uses : ./.github/workflows/docs.yml
17-
1815 build-wheels :
1916 name : Build wheels (${{ matrix.os }})
2017 runs-on : ${{ matrix.os }}
2118 needs :
2219 - test
23- - docs
2420 strategy :
2521 fail-fast : false
2622 matrix :
6258 runs-on : ubuntu-latest
6359 needs :
6460 - test
65- - docs
6661 steps :
6762 - name : Checkout
6863 uses : actions/checkout@v4
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4646 - name : Run linters
4747 run : |
4848 make check-linting
49+
50+ test-rust-accel :
51+ runs-on : ${{ matrix.os }}
52+ needs :
53+ - test
54+ strategy :
55+ fail-fast : false
56+ matrix :
57+ os : [ubuntu-latest, macos-latest, windows-latest]
58+ python-version : ["3.11"]
59+
60+ steps :
61+ - name : Checkout
62+ uses : actions/checkout@v4
63+
64+ - name : Set up Python ${{ matrix.python-version }}
65+ uses : actions/setup-python@v5
66+ with :
67+ python-version : ${{ matrix.python-version }}
68+
69+ - name : Install Rust
70+ uses : dtolnay/rust-toolchain@stable
71+
72+ - name : Install uv
73+ uses : astral-sh/setup-uv@v3
74+
75+ - name : Sync deps (locked)
76+ run : |
77+ uv sync --locked --all-groups --all-extras
78+
79+ - name : Build & install Rust extension (maturin develop)
80+ uses : PyO3/maturin-action@v1
81+ with :
82+ command : develop
83+ args : --release
84+ working-directory : rust-base32
85+
86+ - name : Sanity check (import extension)
87+ run : |
88+ uv run python -c "import typeid_base32; print('typeid_base32 OK')"
You can’t perform that action at this time.
0 commit comments