Skip to content

Update python-package.yml #3

Update python-package.yml

Update python-package.yml #3

name: Build Python package
on:
push:
branches: [ "Master" ]
pull_request:
branches: [ "Master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build wheel cmake setuptools_scm[toml]
- name: Build the package using pyproject.toml
run: python -m build --wheel --no-isolation