Skip to content

chore: set resolver to 2 and update lockfile #182

chore: set resolver to 2 and update lockfile

chore: set resolver to 2 and update lockfile #182

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/