Skip to content

Commit

Permalink
Test on Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
elacuesta committed Dec 9, 2023
1 parent 5b254e4 commit 96bef06
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
include:
- os: macos-latest
python-version: "3.12"

steps:
- uses: actions/checkout@v4
Expand All @@ -28,12 +31,16 @@ jobs:
- name: Run twisted tests
run: tox -e py-twisted

- name: Upload coverage report
- name: Upload coverage report (Linux)
if: runner.os == 'Linux'
run: |
if [ "${{ runner.os }}" = "Linux" ]; then
curl -Os https://uploader.codecov.io/latest/linux/codecov
else
curl -Os https://uploader.codecov.io/latest/macos/codecov
fi
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov
- name: Upload coverage report (macOS)
if: runner.os == 'macOS'
run: |
curl -Os https://uploader.codecov.io/latest/macos/codecov
chmod +x codecov
./codecov
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: Scrapy",
"Intended Audience :: Developers",
"Topic :: Internet :: WWW/HTTP",
Expand Down

0 comments on commit 96bef06

Please sign in to comment.