Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stabilized CI #255

Merged
merged 1 commit into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
working-directory: examples/myworker
timeout-minutes: 10
run: |
pytest -xsv tests
pytest -xsv tests --reruns 3 --rerun-except AssertionError

range:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
working-directory: examples/range
timeout-minutes: 30
run: |
pytest -xsv tests
pytest -xsv tests --reruns 3 --rerun-except AssertionError

rabbitmq_management:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
working-directory: examples/rabbitmq_management
timeout-minutes: 10
run: |
pytest -xsv tests
pytest -xsv tests --reruns 3 --rerun-except AssertionError

django:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
timeout-minutes: 10
run: |
export DJANGO_SETTINGS_MODULE=proj.settings
pytest -xsv tests
pytest -xsv tests --reruns 3 --rerun-except AssertionError

myutils:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -199,7 +199,7 @@ jobs:
working-directory: examples/myutils
timeout-minutes: 10
run: |
pytest -xsv tests
pytest -xsv tests --reruns 3 --rerun-except AssertionError

worker_pool:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
working-directory: examples/worker_pool
timeout-minutes: 10
run: |
pytest -xsv tests
pytest -xsv tests --reruns 3 --rerun-except AssertionError

hybrid_setup:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
working-directory: examples/hybrid_setup
timeout-minutes: 10
run: |
pytest -xsv tests
pytest -xsv tests --reruns 3 --rerun-except AssertionError

vhost:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -298,4 +298,4 @@ jobs:
working-directory: examples/vhost
timeout-minutes: 10
run: |
pytest -xsv tests
pytest -xsv tests --reruns 3 --rerun-except AssertionError
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
- name: Run tox for "${{ matrix.python-version }}-integration"
timeout-minutes: 15
run: |
tox --verbose --verbose -e "${{ matrix.python-version }}-integration" -- -n auto --reruns 2 --rerun-except AssertionError
tox --verbose --verbose -e "${{ matrix.python-version }}-integration" -- -n auto --reruns 3 --rerun-except AssertionError

Smoke:
needs:
Expand Down Expand Up @@ -167,4 +167,4 @@ jobs:
- name: Run tox for "${{ matrix.python-version }}-smoke"
timeout-minutes: 30
run: |
tox --verbose --verbose -e "${{ matrix.python-version }}-smoke" -- -n auto --reruns 2 --rerun-except AssertionError
tox --verbose --verbose -e "${{ matrix.python-version }}-smoke" -- -n auto --reruns 3 --rerun-except AssertionError
1 change: 1 addition & 0 deletions examples/django/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ sqlalchemy>=1.2.18
django>=2.2.1
pytest-django>=4.7.0
pytest-xdist>=3.5.0
pytest-rerunfailures>=14.0
pytest-celery[all]@git+https://github.com/celery/pytest-celery.git
1 change: 1 addition & 0 deletions examples/hybrid_setup/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pytest>=7.4.4
pytest-xdist>=3.5.0
pytest-subtests>=0.11.0
pytest-rerunfailures>=14.0
celery[gevent]
pytest-celery[all]@git+https://github.com/celery/pytest-celery.git
1 change: 1 addition & 0 deletions examples/myutils/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pytest>=7.4.4
pytest-xdist>=3.5.0
pytest-rerunfailures>=14.0
pytest-celery[all]@git+https://github.com/celery/pytest-celery.git
1 change: 1 addition & 0 deletions examples/myworker/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pytest>=7.4.4
pytest-xdist>=3.5.0
pytest-rerunfailures>=14.0
pytest-celery[all]@git+https://github.com/celery/pytest-celery.git
1 change: 1 addition & 0 deletions examples/rabbitmq_management/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pytest>=7.4.4
pytest-xdist>=3.5.0
pytest-rerunfailures>=14.0
pytest-celery[all]@git+https://github.com/celery/pytest-celery.git
1 change: 1 addition & 0 deletions examples/range/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pytest>=7.4.4
pytest-xdist>=3.5.0
pytest-subtests>=0.11.0
pytest-rerunfailures>=14.0
pytest-celery[all]@git+https://github.com/celery/pytest-celery.git
1 change: 1 addition & 0 deletions examples/vhost/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pytest>=7.4.4
pytest-xdist>=3.5.0
pytest-rerunfailures>=14.0
pytest-celery[all]@git+https://github.com/celery/pytest-celery.git
1 change: 1 addition & 0 deletions examples/worker_pool/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pytest>=7.4.4
pytest-xdist>=3.5.0
pytest-subtests>=0.11.0
pytest-rerunfailures>=14.0
celery[gevent]
pytest-celery[all]@git+https://github.com/celery/pytest-celery.git
Loading