Merge pull request #50 from sarnold/sphinx-apidocs #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Smoke | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
python_wheels: | |
name: Python wheels for ${{ matrix.python-version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
env: | |
OS: ${{ matrix.os }} | |
PYTHON: ${{ matrix.python-version }} | |
PYTHONIOENCODING: utf-8 | |
PIP_DOWNLOAD_CACHE: ${{ github.workspace }}/../.pip_download_cache | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-22.04] | |
python-version: [3.9, '3.10', '3.11', '3.12'] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Add requirements | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox tox-gh-actions | |
- name: Install Ubuntu build deps | |
run: | | |
sudo apt-get -qq update | |
sudo apt-get install -y libre2-dev | |
- name: Test using pip install | |
run: | | |
tox | |
env: | |
PLATFORM: ${{ matrix.os }} | |
- name: Build sdist and wheel pkgs | |
run: | | |
tox -e build,check |