Skip to content

158 create an action to test the build and packaging of the python target #27

158 create an action to test the build and packaging of the python target

158 create an action to test the build and packaging of the python target #27

Workflow file for this run

name: Pip
on:
workflow_dispatch:
pull_request:
push:
jobs:
build:
strategy:
fail-fast: false
matrix:
platform: [windows-latest, macos-13, ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v5
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
run: python -m unittest discover -s python/test