Skip to content

Commit

Permalink
Merge pull request #2 from q-m/feature/python-compatibility-test
Browse files Browse the repository at this point in the history
Python compatibility
  • Loading branch information
leewesleyv authored Oct 15, 2024
2 parents 6f7e131 + 2bc9ff6 commit f616f1c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,15 @@ jobs:

test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: pip install -r requirements-tests.txt
- name: Test
Expand All @@ -39,6 +42,6 @@ jobs:
- name: Store coverage HTML
uses: actions/upload-artifact@v4
with:
name: coverage-html
path: htmlcov
name: coverage-data-${{ github.job }}-${{ strategy.job-index }}
path: .coverage.*
include-hidden-files: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Scrapy Webarchive is a plugin for Scrapy that allows users to capture and export

## Compatibility

* Python 3.8+
* Python 3.8, 3.9, 3.10, 3.11 and 3.12

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies = [
"wacz==0.5.0",
"cdxj-indexer==1.4.5",
]
requires-python = ">=3.7"
requires-python = ">=3.7,<3.13"
authors = []
maintainers = []
description = "A webarchive extension for Scrapy"
Expand Down

0 comments on commit f616f1c

Please sign in to comment.