Skip to content

bump devops_tests version to check for output presence in the notebooks #479

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

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions .github/workflows/tests+pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:

tests:
timeout-minutes: 120
needs: [nojit_and_codecov, pylint, pdoc, precommit, zenodo_json]
needs: [nojit_and_codecov, pylint, pdoc, precommit, zenodo_json, devops]
strategy:
matrix:
platform: [ubuntu-latest, macos-13, macos-14, windows-latest]
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
python -m pytest --durations=10 -p no:unraisableexception -We -k "test_timing_3d" tests/smoke_tests

examples:
needs: [pylint, precommit]
needs: [pylint, precommit, devops]
strategy:
matrix:
platform: [ubuntu-latest, macos-13, macos-14, windows-latest]
Expand Down Expand Up @@ -245,7 +245,7 @@ jobs:
package-dir: [".", "examples"]
fail-fast: false
runs-on: ubuntu-latest
needs: [tests, examples, devops]
needs: [tests, examples]
permissions:
id-token: write
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ def compute(simulation):
return output


def convergence_in_space(num=8):
def convergence_in_space(num=None):
num = num or 8
with parallel_backend("threading", n_jobs=-2):
data = Parallel(verbose=10)(
delayed(compute)(
Expand All @@ -49,7 +50,8 @@ def convergence_in_space(num=8):
return result


def convergence_in_time(num=13):
def convergence_in_time(num=None):
num = num or 13
with parallel_backend("threading", n_jobs=-2):
data = Parallel(verbose=10)(
delayed(compute)(
Expand Down
Loading
Loading