File tree Expand file tree Collapse file tree 3 files changed +53
-28
lines changed Expand file tree Collapse file tree 3 files changed +53
-28
lines changed Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on : [push, pull_request]
4+
5+ env :
6+ FORCE_COLOR : 1
7+
8+ jobs :
9+ build :
10+ runs-on : ${{ matrix.os }}
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ python-version : [
15+ " pypy3" ,
16+ " 3.9" ,
17+ # Dependencies aren't installing on Python 3.10
18+ # because Wheel doesn't yet support it
19+ # and GitHub Actions doesn't have allow_failures
20+ # https://github.com/pypa/wheel/issues/354
21+ # "3.10-dev",
22+ ]
23+ os : [ubuntu-16.04]
24+
25+ steps :
26+ - uses : actions/checkout@v2
27+
28+ - name : Set up Python ${{ matrix.python-version }}
29+ uses : actions/setup-python@v2
30+ with :
31+ python-version : ${{ matrix.python-version }}
32+
33+ - name : Install dependencies
34+ run : |
35+ pip install wheel
36+ pip install pillow
37+ pip install -r testsuite/requirements.txt
38+
39+ - name : Test
40+ shell : bash
41+ run : |
42+ cd testsuite
43+ ./run.py --help
44+ ./run.py -s 512x512 -n 1 --json load convert composition rotate_right scale blur filter allocate crop full_cycle
45+ ./run.py -s 512x512 -n 1 --json wand_load wand_convert wand_scale wand_blur wand_composition wand_rotate_right wand_full_cycle
46+
47+ - name : Lint
48+ shell : bash
49+ run : |
50+ pip install pycodestyle pyflakes
51+ pycodestyle --statistics --count . || true
52+ pyflakes . | tee >(wc -l) || true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# Test Suites
22
3- [ ![ Build Status ] ( https://travis-ci .com/python-pillow/pillow-perf.svg?branch=master )] ( https://travis-ci .com/github/ python-pillow/pillow-perf )
3+ [ ![ Test ] ( https://github .com/python-pillow/pillow-perf/workflows/Test/badge .svg )] ( https://github .com/python-pillow/pillow-perf/actions )
44
55Performance tests divided into suites.
66
You can’t perform that action at this time.
0 commit comments