Skip to content

Fix mypy type error #318

Fix mypy type error

Fix mypy type error #318

# Run Continuous Integration on every push
name: python_compatibility_macos
on: [push, pull_request]
jobs:
build:
runs-on: macos-latest
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Check out the source code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Cache Tox
uses: actions/cache@v3
with:
path: ${{ github.workspace }}/.tox
key: python-macos-${{ matrix.python-version }}-tox
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Run the test suite
run: make test_python_only