From b4aa1a54547050d742d72f54a767a0ee89d513e9 Mon Sep 17 00:00:00 2001 From: Frankie Dintino Date: Mon, 11 Sep 2023 17:21:06 -0400 Subject: [PATCH] re-add python 2.7 test workflow --- .github/workflows/test.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ec11e8b..9f5b4e6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,9 @@ jobs: "3.9", "3.8", "3.7", + "2.7", ] + libavif-version: [ "0.11.0", "1.0.1" ] include: - python-version: "3.7" PYTHONOPTIMIZE: 1 @@ -29,17 +31,23 @@ jobs: codecov-flag: GHA_Ubuntu - os: macos-11 codecov-flag: GHA_macOS + exclude: + - python-version: "2.7" + os: "macos-11" runs-on: ${{ matrix.os }} - name: ${{ matrix.os }} Python ${{ matrix.python-version }} + name: ${{ matrix.os }} Python ${{ matrix.python-version }} (libavif ${{ matrix.libavif-version }}) + container: + image: ${{ matrix.python-version == '2.7' && 'python:2.7-buster' || null }} env: - LIBAVIF_VERSION: 0.11.0 + LIBAVIF_VERSION: ${{ matrix.libavif-version }} steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} + if: matrix.python-version != '2.7' uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }}