Skip to content

Commit

Permalink
test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Lips7 committed Jul 11, 2024
1 parent 1b08e3b commit 6f5345f
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,20 @@ jobs:
with:
python-version: 3.12
- name: Install pytest
run: pip install -U pytest msgspec numpy typing_extensions
run: pip install -U pytest msgspec numpy typing_extensions maturin
- name: Build wheels
uses: PyO3/maturin-action@v1
env:
RUSTFLAGS: "-Z threads=2 -D warnings"
with:
target: ${{ matrix.platform.target }}
args: --release
sccache: 'true'
manylinux: auto
rust-toolchain: nightly
working-directory: matcher_py
- name: Install wheels
run: pip install ./target/wheels/*.whl
- name: Python Test
if: matrix.platform.runner == 'ubuntu-latest'
run: pytest matcher_py/test

0 comments on commit 6f5345f

Please sign in to comment.