Skip to content

bump version 0.0.6 -> 0.0.7 #29

bump version 0.0.6 -> 0.0.7

bump version 0.0.6 -> 0.0.7 #29

Workflow file for this run

name: test
on:
push:
branches:
- main
- master
tags:
- '*'
pull_request:
workflow_dispatch:
defaults:
run:
working-directory: ./py
permissions:
contents: read
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: |
pip install -U pip wheel
pip install pandas numpy scipy pytest maturin
name: Install dependencies
- run: |
mkdir -p $TGT_DIR
rm -f $TGT_DIR/*.whl
maturin build --release --interpreter python --out $TGT_DIR
pip install $TGT_DIR/*.whl
name: Install package
env:
TGT_DIR: "target/wheels/${{ matrix.python-version }}"
- run: pytest --verbose
osx:
runs-on: macos-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: |
pip install -U pip wheel
pip install pandas numpy scipy pytest maturin
name: Install dependencies
- run: |
mkdir -p $TGT_DIR
rm -f $TGT_DIR/*.whl
maturin build --release --interpreter python --out $TGT_DIR
pip install $TGT_DIR/*.whl
name: Install package
env:
TGT_DIR: "target/wheels/${{ matrix.python-version }}"
- run: pytest --verbose
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- run: |
pip install -U pip wheel
pip install pandas numpy scipy pytest maturin
name: Install dependencies
- run: |
mkdir -p dist
maturin build --release --interpreter python --out .
pip install navis_fastcore-0.0.7-cp39-abi3-win_amd64.whl
name: Install and test package
- run: pytest --verbose