Bump pillow from 8.2.0 to 10.0.1 #892
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, pull_request] | |
jobs: | |
build: | |
name: ${{ matrix.os }} / ${{ matrix.python-version }} | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
matrix: | |
os: [Ubuntu, MacOS, Windows] | |
python-version: [3.7, 3.8] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
id: setup-python | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup Pipenv | |
uses: dschep/install-pipenv-action@v1 | |
- name: Install dependencies | |
run: | | |
# install dependencies according to the lock file | |
pipenv install --dev --ignore-pipfile --python ${{ steps.setup-python.outputs.python-version }} | |
pipenv run python -m spacy download en_core_web_sm | |
- name: Run test with pytest | |
run: | | |
pipenv run pytest tests | |
- name: Lint with flake8 | |
run: | | |
pipenv run flake8 src | |
pipenv run flake8 tests | |
- name: Lint with pylint | |
run: | | |
pipenv run pylint src | |
pipenv run pylint tests | |
codecov: | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
matrix: | |
os: [Ubuntu] | |
python-version: [3.7] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
id: setup-python | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Lint writing | |
uses: actionshub/markdownlint@main | |
- name: Setup Pipenv | |
uses: dschep/install-pipenv-action@v1 | |
- name: Install dependencies | |
run: | | |
# install dependencies according to the lock file | |
pipenv install --dev --ignore-pipfile --python ${{ steps.setup-python.outputs.python-version }} | |
pipenv run python -m spacy download en_core_web_sm | |
pip install coverage | |
- name: Run test with pytest | |
run: | | |
pipenv run pytest tests --cov-config pytest.cov --cov | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 |