Skip to content

[CI] add short find-python test #1

[CI] add short find-python test

[CI] add short find-python test #1

Workflow file for this run

name: Python Wheel (test)
on:
push:
jobs:
build:
runs-on: ubuntu-latest
container: python:${{ matrix.python-version }}-bullseye
strategy:
matrix:
python-version: ['3.12']
steps:
- uses: actions/checkout@v4
- name: Build
shell: bash
run: |
python3 -m venv /tmp/py-venv
. /tmp/py-venv/bin/activate
python -m pip install -U pip build
python -m build -w .
- name: Upload Wheel
uses: actions/upload-artifact@v4
with:
name: py_build_cmake-whl
path: dist/py_build_cmake-*.whl
test-macos:
needs: build
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.7', '3.13', 'pypy3.10']
os: ['macos-13', 'macos-latest']
exclude:
- python-version: '3.7'
os: 'macos-latest'
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- uses: actions/download-artifact@v4
with:
name: py_build_cmake-whl
path: dist
- name: Run Nox
run: |
python -m pip install -U pip nox distlib jinja2
python -m nox --force-color -s find_python
env:
PY_BUILD_CMAKE_WHEEL_DIR: ${{ github.workspace }}/dist