Skip to content

Support built-in readlines in override script #41

Support built-in readlines in override script

Support built-in readlines in override script #41

Workflow file for this run

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