Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusnus committed Sep 25, 2024
1 parent 5058fa9 commit 104583f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ jobs:
verbose: true # optional (default = false)

Integration:
# needs:
# - Unit
# if: needs.Unit.result == 'success'
needs:
- Unit
if: needs.Unit.result == 'success'

runs-on: blacksmith-4vcpu-ubuntu-2204
strategy:
fail-fast: false
matrix:
python-version: ['3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
toxenv: [
'py-amqp',
'py-redis',
Expand Down
2 changes: 1 addition & 1 deletion requirements/test-integration.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest-xdist==3.6.1
pytest-xdist==3.6.1
14 changes: 7 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[tox]
envlist =
{3.8,3.9,3.10,3.11,3.12,pypy3.10}-unit
{3.8,3.9,3.10,3.11,3.12,pypy3.10}-linux-integration-py-amqp
{3.8,3.9,3.10,3.11,3.12,pypy3.10}-linux-integration-redis
{3.8,3.9,3.10,3.11,3.12,pypy3.10}-linux-integration-mongodb
{3.8,3.9,3.10,3.11,3.12,pypy3.10}-linux-integration-kafka
{pypy3.10,3.8,3.9,3.10,3.11,3.12}-unit
{pypy3.10,3.8,3.9,3.10,3.11,3.12}-linux-integration-py-amqp
{pypy3.10,3.8,3.9,3.10,3.11,3.12}-linux-integration-redis
{pypy3.10,3.8,3.9,3.10,3.11,3.12}-linux-integration-mongodb
{pypy3.10,3.8,3.9,3.10,3.11,3.12}-linux-integration-kafka
flake8
apicheck
pydocstyle
Expand Down Expand Up @@ -152,8 +152,8 @@ commands =
python -m cleanpy .
make clean

[testenv:parallel-integration]
description = Run all integration tests using {basepython} in parallel
[testenv:parallel]
description = Run all integration tests in parallel
allowlist_externals = tox
setenv =
PYTHONUNBUFFERED = 1
Expand Down

0 comments on commit 104583f

Please sign in to comment.