Support built-in readlines in override script #41
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: Build and test package | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- '.github/workflows/**' | |
jobs: | |
build_and_test: | |
name: Test on Python ${{ matrix.python }}, ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04, macos-13, macos-14] | |
python: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | |
exclude: | |
# There is something fishy about this combo (broken standard readline) | |
- os: macos-13 | |
python: "3.7" | |
# setup-python only gained arm64 from version 3.10.11 onwards | |
- os: macos-14 | |
python: "3.6" | |
- os: macos-14 | |
python: "3.7" | |
- os: macos-14 | |
python: "3.8" | |
- os: macos-14 | |
python: "3.9" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install tox and any other packages | |
run: pip install tox | |
- name: Run tox | |
# Run tox using the version of Python in `PATH` | |
run: tox -e py |