Skip to content

CI: remove wheels after install #6

CI: remove wheels after install

CI: remove wheels after install #6

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:
target: [x86_64, x86, aarch64, armv7, s390x, ppc64le]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist
sccache: 'true'
manylinux: auto
working-directory: py
- name: Install package
run: |
pip install dist/*.whl
rm dist/*.whl
- name: Run tests
run: |
pip install pytest pandas scipy
pytest