Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ permissions:
jobs:
build:
name: Build wheels
if: github.repository == 'microBioRust/microBioRust'
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -37,7 +38,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand All @@ -54,12 +55,13 @@ jobs:

sdist:
name: Build sdist
if: github.repository == 'microBioRust/microBioRust'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
Expand All @@ -74,6 +76,7 @@ jobs:

publish:
name: Publish to PyPI
if: github.repository == 'microBioRust/microBioRust'
runs-on: ubuntu-latest
needs: [build, sdist]
environment: pypi
Expand Down
6 changes: 6 additions & 0 deletions microbiorust-py/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
pip install microbiorust
```

to use the Python tests with pytest
```bash
python3 -m pytest -s tests/test_mbr.py
```

Wheels are available for Linux, macOS and Windows (Python 3.10+). No Rust toolchain required.
(no requirement to install Rust)

Expand All @@ -32,6 +37,7 @@ To verify the Python module functions are correctly exposed from Rust:
cargo test
```


---

## Features
Expand Down
Loading