Skip to content

Check all install extras #60

Check all install extras

Check all install extras #60

name: Check all install extras
on:
push:
branches: [ "main", "b*" ]
pull_request:
branches: [ "main", "b*" ]
schedule:
- cron: "0 16 * * 4" # Every Thursday at 16 UTC (17 CET/18 CEST)
workflow_dispatch:
inputs:
branch:
description: 'Which branch to test'
required: false
default: 'main'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest, macos-latest]
extras:
- ipympl
- plotly
- bokeh
- k3d
- qt
- test
# - mayavi # No wheel for 4.8.2, so does not work with --only-binary
steps:
- uses: actions/checkout@v4
with:
ref: '${{ github.event.inputs.branch }}'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: |
python3 -m pip install --upgrade pip
- name: Install using flags
run: |
python3 -m pip install -v --only-binary=:all: .[${{ matrix.extras }}]