Skip to content

Update pytest requirement from <7,>=5.1 to >=5.1,<9 #378

Update pytest requirement from <7,>=5.1 to >=5.1,<9

Update pytest requirement from <7,>=5.1 to >=5.1,<9 #378

Workflow file for this run

name: Run tests and lint
on: [push, pull_request]
jobs:
tox:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- python-version: 3.7
toxenv: py37-core
- python-version: 3.7
toxenv: py37-integration
- python-version: 3.8
toxenv: py38-core
- python-version: 3.8
toxenv: py38-integration
- python-version: 3.9
toxenv: py39-core
- python-version: 3.9
toxenv: py39-integration
- python-version: 3.8
toxenv: lint
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: |
python -m pip install --upgrade pip wheel setuptools
pip install -e .[dev]
- name: Pip Check
run: pip check
- name: ${{ matrix.toxenv }}
run: tox
env:
TOXENV: ${{ matrix.toxenv }}