Prepare release 1.0.12 #50
Workflow file for this run
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: Test | |
on: [push, pull_request, workflow_dispatch] | |
env: | |
FORCE_COLOR: 1 | |
jobs: | |
package: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build and Check Package | |
uses: hynek/build-and-inspect-python-package@v2.4 | |
build: | |
needs: "package" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.6", "3.7.7", "3.8", "3.9", "3.10", "3.11"] | |
os: [ubuntu-20.04, macos-latest, windows-latest] | |
exclude: # Apple Silicon ARM64 does not support Python < v3.8 | |
- python-version: "3.6" | |
os: macos-latest | |
- python-version: "3.7.7" | |
os: macos-latest | |
include: # So run those legacy versions on Intel CPUs | |
- python-version: "3.6" | |
os: macos-13 | |
- python-version: "3.7.7" | |
os: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Download Package | |
uses: actions/download-artifact@v4 | |
with: | |
name: Packages | |
path: dist | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install --upgrade tox | |
- name: Test | |
shell: bash | |
run: | | |
tox -e py --installpkg `find dist/*.tar.gz` |