Skip to content

Add support for Scrapy>=2.9, Python3.7+ #57

Add support for Scrapy>=2.9, Python3.7+

Add support for Scrapy>=2.9, Python3.7+ #57

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: unittests
runs-on: ubuntu-latest
strategy:
matrix:
toxenv:
- py37-scrapy29
- py38-scrapy29
- py39-scrapy29
- py310-scrapy29
- py311-scrapy29
- py312-scrapy29
- py38-scrapy210
- py39-scrapy210
- py310-scrapy210
- py311-scrapy210
- py312-scrapy210
- py38-scrapy211
- py39-scrapy211
- py310-scrapy211
- py311-scrapy211
- py312-scrapy211
- py39-scrapymaster
- py310-scrapymaster
- py311-scrapymaster
- py312-scrapymaster
include:
- toxenv: py37-scrapy29
python-version: 3.7
- toxenv: py38-scrapy29
python-version: 3.8
- toxenv: py39-scrapy29
python-version: 3.9
- toxenv: py310-scrapy29
python-version: '3.10'
- toxenv: py311-scrapy29
python-version: '3.11'
- toxenv: py312-scrapy29
python-version: '3.12'
- toxenv: py38-scrapy210
python-version: 3.8
- toxenv: py39-scrapy210
python-version: 3.9
- toxenv: py310-scrapy210
python-version: '3.10'
- toxenv: py311-scrapy210
python-version: '3.11'
- toxenv: py312-scrapy210
python-version: '3.12'
- toxenv: py38-scrapy211
python-version: 3.8
- toxenv: py39-scrapy211
python-version: 3.9
- toxenv: py310-scrapy211
python-version: '3.10'
- toxenv: py311-scrapy211
python-version: '3.11'
- toxenv: py312-scrapy211
python-version: '3.12'
- toxenv: py39-scrapymaster
python-version: 3.9
- toxenv: py310-scrapymaster
python-version: '3.10'
- toxenv: py311-scrapymaster
python-version: '3.11'
- toxenv: py312-scrapymaster
python-version: '3.12'
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Run tox
run: |
tox
env:
TOXENV: ${{ matrix.toxenv }}
continue-on-error: ${{ contains(matrix.toxenv, '-scrapymaster') }}