Skip to content

Commit

Permalink
Moved Python 3.6 tests out of tox.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmorell committed Sep 13, 2024
1 parent 0f00667 commit c7130d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
- name: Install Python 3.6 dependencies
if: ${{ contains(matrix.python-version, '3.6') }}
# typing-extensions dropped support for Python 3.6 in version 4.2
run: pip install "typing-extensions<4.2" requests==2.27.0 blinker==1.5 immutables==0.19
run: pip install "typing-extensions<4.2" requests==2.27.0 blinker==1.5 immutables==0.19 webob blinker httpx aiocontextvars

- name: Install Python 3.7 dependencies
if: ${{ contains(matrix.python-version, '3.7') }}
Expand Down Expand Up @@ -135,5 +135,10 @@ jobs:
- name: Install Tox
run: pip install tox

- name: Run tests
- name: Run tests (skip on Python 3.6)
if: ${{ !contains(matrix.python-version, '3.6') }}
run: tox

- name: Run tests (Python 3.6)
if: ${{ contains(matrix.python-version, '3.6') }}
run: python -m unittest rollbar.test.discover
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
[tox]
requires = tox>=3
requires = tox>=4

[testenv]
deps = webob
blinker
httpx
aiocontextvars; python_version == "3.6"
description = run unit tests
commands = python -m unittest rollbar.test.discover

0 comments on commit c7130d5

Please sign in to comment.