Skip to content
Open
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
20 changes: 17 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,22 @@ jobs:
pre-commit clean
pre-commit autoupdate
pre-commit run --all-files


url-check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4.1.6
- uses: urlstechie/urlchecker-action@master
with:
file_types: .md,.py,.json,.ipynb,.yaml,.yml,.jinja2,.toml
print_all: false
verbose: true
timeout: 7
retry_count: 3
exclude_urls: https://www.gnu.org/licenses/gpl-3.0.html,https://open-atmos.github.io/PyMPDATA/\2/\3.html
exclude_patterns: http://purl.org,http://www.w3.org
exclude_files: docs/generate_html.py,.github/workflows/tests.yml

pylint:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -59,7 +74,6 @@ jobs:
nbqa pylint --disable=fixme,trailing-whitespace,wrong-import-position,wrong-import-order,ungrouped-imports \
--disable=duplicate-code,invalid-name,missing-module-docstring,line-too-long,missing-function-docstring,redefined-outer-name,too-many-arguments,no-member,too-many-locals,cell-var-from-loop,missing-class-docstring $(git ls-files '*.ipynb')


devops:
runs-on: ubuntu-latest
steps:
Expand All @@ -74,7 +88,7 @@ jobs:
run: pytest --durations=10 -v -s -We -p no:unraisableexception -k "not run_notebooks" tests/devops_tests

nojit_and_codecov:
needs: [ precommit, pylint, devops ]
needs: [ precommit, pylint, devops, url-check ]
strategy:
matrix:
python-version: ["3.10", "3.13"]
Expand Down
Loading