Skip to content

clean code; switch to scikit-build (#23) #60

clean code; switch to scikit-build (#23)

clean code; switch to scikit-build (#23) #60

Workflow file for this run

name: Pip
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
jobs:
build:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-20.04, windows-2019, macos-11]
python-version: ["3.8", "3.9", "3.10"]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Add requirements
run: python -m pip install --upgrade wheel setuptools
- name: Build and install
run: pip install --verbose .[test]
- name: Test
if: ${{ startsWith(matrix.platform, 'ubuntu') }}
run: python -m pytest