Skip to content

Bump pillow from 9.0.1 to 10.0.1 #534

Bump pillow from 9.0.1 to 10.0.1

Bump pillow from 9.0.1 to 10.0.1 #534

Workflow file for this run

name: Pytest
on:
push:
paths-ignore:
- 'docs/**'
- '*.md'
# schedule:
# - cron: '0 8 * * *'
jobs:
run-tests:
name: ${{ matrix.os }}, ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}-latest
strategy:
max-parallel: 6
fail-fast: false
matrix:
os: [ubuntu, windows, macOS]
python-version: [3.x]
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Get Python Package Location
run: |
echo "::set-output name=path::$(python -c 'import site; print(site.getusersitepackages())')"
id: get_location
- name: Activate Cache
uses: actions/cache@preview
with:
path: ${{ steps.get_location.outputs.path }}
key: pytest-${{ matrix.os }}-${{ matrix.python-version }}-libs-${{ hashFiles('**/**equirement*.txt') }}
restore-keys: |
pytest-${{ matrix.os }}-${{ matrix.python-version }}-libs-
- name: Install dev dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install --upgrade -r requirements.txt --user --no-warn-script-location
pip install --upgrade -r requirements-dev.txt
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Test with pytest
env:
RMD_REFRESH_TOKEN: ${{secrets.RMD_REFRESH_TOKEN}}
RMD_IMGUR_ID: ${{secrets.RMD_IMGUR_ID}}
RMD_IMGUR_SECRET: ${{secrets.RMD_IMGUR_SECRET}}
run: |
pytest --cov=./ --cov-report=xml --verbose redditdownloader/
- name: Upload coverage to Codecov
run: |
pip install codecov
codecov -t ${{secrets.CODECOV_TOKEN}} --name "${{ matrix.os }}, ${{ matrix.python-version }}"