Skip to content

Commit

Permalink
Add support for Python 3.10, 3.11 + drop testing Firefox and Edge.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Sep 27, 2023
1 parent eff8bfa commit 154b06a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ jobs:
- ["3.7", "py37"]
- ["3.8", "py38"]
- ["3.9", "py39"]
- ["3.10", "py310"]
- ["3.11", "py311"]
browser:
- ff
# - ff # unability to solve `API rate limit exceeded` problems
- chrome
- edge
# - edge # Edge version and driver version do not match
state:
- headless
# - head # disabled because it needs xvfb which is not so easy to set up on GHA
Expand Down Expand Up @@ -62,8 +64,6 @@ jobs:
sudo apt update
sudo apt install microsoft-edge-stable
- name: Test
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
tox -f ${{ matrix.config[1] }}-${{ matrix.browser }}-${{ matrix.state }}
- name: Report to coveralls
Expand Down
8 changes: 7 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ Changelog
7.2 (unreleased)
----------------

- Nothing changed yet.
- Add support for Python 3.10, 3.11.

- Drop testing against ``Firefox`` in GitHub Actions: I was unable to solve the
*API rate limit exceeded* problem.

- Drop testing against ``Edge`` in GitHub Actions: It says that the driver does
not match the Edge version.


7.1 (2022-06-30)
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tox]
# Please update in the environment `testenv:coverage-report` as well.
envlist =
py{37,38,39}-{wsgi,plonetesting,grok}-{chrome,ff,edge}-headless
py38-wsgi-{chrome,ff,edge}-head
py{37,38,39,310,311}-{wsgi,plonetesting,grok}-{chrome,ff,edge}-headless
py39-wsgi-{chrome,ff,edge}-head
coverage-report
minversion = 4.0

Expand Down Expand Up @@ -56,8 +56,8 @@ commands =
basepython = python3
deps = coverage
depends =
py{37,38,39}-{wsgi,plonetesting,grok}-{chrome,ff}-headless
py38-{wsgi,plonetesting,grok}-{chrome,ff,edge}-head
py{37,38,39,310,311}-{wsgi,plonetesting,grok}-{chrome,ff}-headless
py39-{wsgi,plonetesting,grok}-{chrome,ff,edge}-head
setenv =
COVERAGE_FILE=.coverage
skip_install = true
Expand Down

0 comments on commit 154b06a

Please sign in to comment.