Merge pull request #143 from radarhere/box_blur #88
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push, pull_request] | |
env: | |
FORCE_COLOR: 1 | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [ | |
"pypy-3.9", | |
"pypy-3.10", | |
"3.10", | |
"3.11", | |
] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install wheel | |
pip install pillow | |
pip install -r testsuite/requirements.txt | |
- name: Test | |
shell: bash | |
run: | | |
cd testsuite | |
./run.py --help | |
./run.py -s 512x512 -n 1 --json load convert composition rotate_right scale blur filter allocate crop full_cycle | |
./run.py -s 512x512 -n 1 --json wand_load wand_convert wand_scale wand_blur wand_composition wand_rotate_right wand_full_cycle | |
- name: Lint | |
shell: bash | |
run: | | |
pip install pycodestyle pyflakes | |
pycodestyle --statistics --count . || true | |
pyflakes . | tee >(wc -l) || true |