forked from pybop-team/PyBOP
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into pybop-team#282-restructure-example-directory
- Loading branch information
Showing
175 changed files
with
251,419 additions
and
2,849 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Lychee Link Checking | ||
|
||
name: Links | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
schedule: | ||
- cron: '0 6 * * 0' # Run weekly on Sundays at 06:00 UTC | ||
|
||
jobs: | ||
Lychee: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Restore lychee cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: .lycheecache | ||
key: cache-lychee-${{ github.sha }} | ||
restore-keys: cache-lychee- | ||
|
||
- name: Set up Lychee | ||
uses: lycheeverse/[email protected] | ||
with: | ||
args: >- | ||
--cache | ||
--no-progress | ||
--max-cache-age 2d | ||
--timeout 10 | ||
--max-retries 5 | ||
--skip-missing | ||
--exclude-loopback | ||
--accept 200,403,429,999 | ||
--exclude "https://tiles.stadiamaps.com/*|https://b.tile.openstreetmap.org/*" | ||
--exclude "https://cartodb-basemaps-c.global.ssl.fastly.net/*" | ||
--exclude "https://events.mapbox.com/*|https://events.mapbox.cn/*|https://api.mapbox.cn/*" | ||
--exclude "https://github.com/mikolalysenko/glsl-read-float/*" | ||
--exclude "https://fonts.openmaptiles.org/*" | ||
--exclude "https://a.tile.openstreetmap.org/*" | ||
--exclude "https://openstreetmap.org/*|https://www.openstreetmap.org/*" | ||
--exclude "https://cdn.plot.ly/*" | ||
--exclude "http://www.w3.org/*|https://www.w3.org/*" | ||
--exclude "https://doi.org/*" | ||
--exclude "https://raw.githubusercontent.com/paramm-team/pybamm-param/develop/pbparam/input/data/" | ||
--exclude-path ./CHANGELOG.md | ||
--exclude-path asv.conf.json | ||
--exclude-path docs/conf.py | ||
'./**/*.rst' | ||
'./**/*.md' | ||
'./**/*.py' | ||
'./**/*.ipynb' | ||
'./**/*.json' | ||
'./**/*.toml' | ||
fail: true | ||
jobSummary: true | ||
format: markdown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -314,3 +314,6 @@ $RECYCLE.BIN/ | |
# Airspeed Velocity | ||
*.asv/ | ||
results/ | ||
|
||
# Pycharm | ||
*.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.