Skip to content

chore: add shorthand name #185

chore: add shorthand name

chore: add shorthand name #185

Workflow file for this run

name: Python test
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
python-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: pip install -r ./reductionml-python/dev-requirements.txt
- run: black --check ./reductionml-python/python/ ./reductionml-python/tests/
- uses: PyO3/maturin-action@v1
with:
command: build
args: --manifest-path reductionml-python/Cargo.toml
- run: pip install --no-index --find-links target/wheels reductionml
- run: mypy -m reductionml
- run: stubtest reductionml
- run: pytest reductionml-python/tests/