Skip to content

version 3.5.0

version 3.5.0 #304

Workflow file for this run

#
# Run unit tests.
#
name: Test
on:
- push
- workflow_dispatch
jobs:
pytest:
name: Run Tests
runs-on: ubuntu-22.04
timeout-minutes: 30
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-test-${{ hashFiles('setup.py') }}
restore-keys: |
${{ runner.os }}-test-
- name: Install
run: |
pip install virtualenv
make venv install-test
- name: Run in debug and color mode
run: |
source .venv/bin/activate
make test-cli
- name: Compare image processing output
run: |
source .venv/bin/activate
make test-diff
- name: Run pytest
run: |
source .venv/bin/activate
make test-pytest