diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4895e89..d9517f2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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 diff --git a/README.md b/README.md index e42806f..ebe6b46 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 9e789fc..0c24f25 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"