diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8a6d456..e953486 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,15 +12,26 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] experimental: [false] - python-version: ["3.7", "3.12"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + # Python 3.9 is on macos-13 but not macos-latest (macos-14-arm64) + # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760 + exclude: + - { python-version: "3.7", os: "macos-latest", experimental: false } + - { python-version: "3.8", os: "macos-latest", experimental: false } + - { python-version: "3.9", os: "macos-latest", experimental: false } + include: + - { python-version: "3.7", os: "macos-13", experimental: false } + - { python-version: "3.8", os: "macos-13", experimental: false } + - { python-version: "3.9", os: "macos-13", experimental: false } fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Install dependencies run: | python -m pip install tox @@ -31,9 +42,9 @@ jobs: docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" - name: Install dependencies