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

Increased timeout-minutes to all CI tests #77

Merged
merged 1 commit into from
Oct 26, 2023
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
4 changes: 2 additions & 2 deletions .github/workflows/parallel-support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
poetry install --with dev,test,ci

- name: Run tox for all environments in parallel
timeout-minutes: 50
timeout-minutes: 60
run: |
tox -e xdist -- --reruns 10

Expand Down Expand Up @@ -108,6 +108,6 @@ jobs:
poetry install --with dev,test,ci

- name: Run tox for all environments in parallel
timeout-minutes: 50
timeout-minutes: 60
run: |
tox -e parallel -- --reruns 10
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
poetry install --with dev,test,ci

- name: Run tox for "${{ matrix.python-version }}-unit"
timeout-minutes: 5
timeout-minutes: 10
run: |
tox --verbose --verbose -e "${{ matrix.python-version }}-unit"

Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
poetry install --with dev,test,ci

- name: Run tox for "${{ matrix.python-version }}-integration"
timeout-minutes: 15
timeout-minutes: 60
run: |
tox --verbose --verbose -e "${{ matrix.python-version }}-integration" -- -n auto --reruns 10 --rerun-except AssertionError

Expand Down Expand Up @@ -165,6 +165,6 @@ jobs:
poetry install --with dev,test,ci

- name: Run tox for "${{ matrix.python-version }}-smoke"
timeout-minutes: 50
timeout-minutes: 60
run: |
tox --verbose --verbose -e "${{ matrix.python-version }}-smoke" -- -n auto --reruns 10 --rerun-except AssertionError
3 changes: 2 additions & 1 deletion src/pytest_celery/api/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ def celeryconfig(self) -> dict:

@classmethod
def command(cls) -> list:
# To be used with pytest_docker_tools.container using the command kwarg with the class method as value
# To be used with pytest_docker_tools.container using the command
# kwarg with the class method as value
# e.g. command=MyContainer.command()
raise NotImplementedError("CeleryTestContainer.command")

Expand Down