Skip to content

Commit

Permalink
re-add python 2.7 test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fdintino committed Sep 12, 2023
1 parent 09ed9ac commit b4aa1a5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit b4aa1a5

Please sign in to comment.