.github/workflows/install.yml
name: Installation
on:
push:
branches: [ "main", "release"]
paths:
- '.github/workflows/install.yml'
- 'src/**'
- 'Makefile'
pull_request:
branches: [ "main", "release"]
paths:
- '.github/workflows/install.yml'
- 'src/**'
- 'Makefile'
jobs:
install:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Local install checking
run: make install
- name: PYPI install checking
run: pip3 install python3-capsolver