Skip to content

Commit

Permalink
skip more domains (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
john0isaac authored Aug 10, 2024
1 parent 389de9c commit aba3fbc
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/python-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,40 @@ jobs:
cd Phi-3CookBook
markdown-checker -d . -f check_broken_urls -gu ''
tests-genai-repo:
name: Python Tests on generative-ai-for-beginners
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
id: python
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -e .
- name: Clone Repo
run: git clone https://github.com/microsoft/generative-ai-for-beginners

- name: Test Check Broken Paths in generative-ai-for-beginners
if: always()
run: |
cd generative-ai-for-beginners
markdown-checker -d . -f check_broken_paths -gu ''
- name: Test Check URLs Country locale in generative-ai-for-beginners
if: always()
run: |
cd generative-ai-for-beginners
markdown-checker -d . -f check_urls_locale -gu ''
- name: Test Check Broken URLs in generative-ai-for-beginners
if: always()
run: |
cd generative-ai-for-beginners
markdown-checker -d . -f check_broken_urls -gu ''
tests-markdown-checker-repo:
name: Python Tests on markdown-checker
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions src/markdown_checker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ def detect_issues(
"dotnet.microsoft.com",
"www.gemini.com",
"upload.wikimedia.org",
"medium.com",
"blogs.nvidia.com",
"blog.gopenai.com",
"towardsdatascience.com",
]
)
with concurrent.futures.ProcessPoolExecutor() as executor:
Expand Down

0 comments on commit aba3fbc

Please sign in to comment.