Skip to content

Commit

Permalink
Merge pull request #68 from xrmx/fixup-ci
Browse files Browse the repository at this point in the history
Fixup CI
  • Loading branch information
vstoykov authored Sep 26, 2023
2 parents 09ffa2a + 05d9f48 commit 2654570
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ on:
jobs:
build:

runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
strategy:
max-parallel: 4
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, "3.10"]
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion pilkit/processors/resize.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self, width, height, upscale=True):
def process(self, img):
if self.upscale or (self.width < img.size[0] and self.height < img.size[1]):
img = resolve_palette(img)
img = img.resize((self.width, self.height), Image.ANTIALIAS)
img = img.resize((self.width, self.height), Image.LANCZOS)
return img


Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{310,39,38,37,36,35,27},
py{311,310,39,38,37,36},
coverage-report

[testenv]
Expand All @@ -19,4 +19,4 @@ skip_install = true
setenv = COVERAGE_FILE=.coverage
commands =
coverage combine
coverage report
coverage report

0 comments on commit 2654570

Please sign in to comment.