Skip to content

Commit

Permalink
Disable linkcheck (too flakey right now)
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw committed Sep 18, 2024
1 parent de2c955 commit 3723f41
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Check Links

on:
pull_request:
branches:
- main
push:
branches:
- main
schedule:
- cron: '0 5 * * *'
# pull_request:
# branches:
# - main
# push:
# branches:
# - main
# schedule:
# - cron: '0 5 * * *'
workflow_dispatch:

jobs:
Expand All @@ -32,12 +32,12 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U pytest pytest-check-links langsmith langchain GitPython
- name: Check links in notebooks
env:
LANGCHAIN_API_KEY: test
run: pytest -o python_files=non_python_only --check-links --ignore="*.py" -k .ipynb --check-links-ignore "https://(api|web)\.smith\.langchain\.com/.*" --check-links-ignore "https://x.com/*". --check-links-ignore "https://twitter.com/*"
run: pytest -o python_files=non_python_only --check-links --ignore="*.py" -k .ipynb --check-links-ignore "https://(api|web)\.smith\.langchain\.com/.*" --check-links-ignore "https://x.com/*". --check-links-ignore "https://twitter.com/*"

0 comments on commit 3723f41

Please sign in to comment.