Bump pillow from 10.0.1 to 10.2.0 #189
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
name: tests | |
on: [push] | |
concurrency: | |
group: test-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ${{matrix.os}} | |
strategy: | |
matrix: | |
python-version: ["3.11"] | |
os: ["ubuntu-latest"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
id: py | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: actions/cache@v3 | |
id: cache | |
with: | |
path: venv | |
key: ${{ runner.os }}-${{ steps.py.outputs.python-version }}-${{ hashFiles('requirements.txt') }} | |
- name: Install dependencies unix | |
if: | | |
steps.cache.outputs.cache-hit != 'true' | |
&& matrix.os != 'windows-latest' | |
run: | | |
python -m venv venv && source venv/bin/activate | |
pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Install dependencies windows | |
if: | | |
steps.cache.outputs.cache-hit != 'true' | |
&& matrix.os == 'windows-latest' | |
run: | | |
python -m venv venv | |
venv\Scripts\activate | |
pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: lint | |
run: | | |
source venv/bin/activate | |
ruff . | |
black --check . | |
if: matrix.os != 'windows-latest' | |
- name: Test on ubuntu and macOS | |
run: | | |
source venv/bin/activate | |
pytest . | |
if: matrix.os != 'windows-latest' | |
- name: Test with nose on ubuntu and macOS | |
run: | | |
venv\Scripts\activate | |
pytest . -m "not fails_on_windows" | |
if: matrix.os == 'windows-latest' |