Fix broken automated tests by syncing with exif-samples #94
Workflow file for this run
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
# | |
# Run unit tests. | |
# | |
name: Test | |
on: | |
- push | |
- pull_request | |
jobs: | |
pytest: | |
name: Run Tests | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
strategy: | |
matrix: | |
python-version: | |
- "3.6" | |
- "3.7" | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Cache dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-test-${{ hashFiles('setup.py') }} | |
restore-keys: | | |
${{ runner.os }}-test- | |
- name: Download Samples | |
run: | | |
make samples-download | |
- name: Install | |
run: | | |
pip install -e . | |
- name: Run in debug and color mode | |
run: | | |
make run | |
- name: Compare image processing output | |
run: | | |
make compare |