Fix floor head sizes #23
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: Unit tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Overviewer | |
uses: actions/checkout@v4 | |
- name: Checkout Pillow | |
uses: actions/checkout@v4 | |
with: | |
repository: python-pillow/Pillow | |
ref: refs/tags/10.2.0 | |
path: pillow | |
sparse-checkout: | | |
src/libImaging | |
sparse-checkout-cone-mode: false | |
- name: Install Python 3 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install networkx pytest | |
echo "PIL_INCLUDE_DIR=pillow/src/libImaging" >> "$GITHUB_ENV" | |
- name: Build Overviewer | |
run: | | |
python setup.py build | |
- name: Run tests with pytest | |
run: | | |
pytest |