Skip to content

Commit 5f8aa35

Browse files
committed
skip more domains (#67)
1 parent cbe304d commit 5f8aa35

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

.github/workflows/python-tests.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,40 @@ jobs:
8282
cd Phi-3CookBook
8383
markdown-checker -d . -f check_broken_urls -gu ''
8484
85+
tests-genai-repo:
86+
name: Python Tests on generative-ai-for-beginners
87+
runs-on: ubuntu-latest
88+
steps:
89+
- uses: actions/checkout@v4
90+
- name: Set up Python 3.9
91+
id: python
92+
uses: actions/setup-python@v5
93+
with:
94+
python-version: 3.9
95+
- name: Install dependencies
96+
run: |
97+
python3 -m pip install --upgrade pip
98+
python3 -m pip install -e .
99+
100+
- name: Clone Repo
101+
run: git clone https://github.com/microsoft/generative-ai-for-beginners
102+
103+
- name: Test Check Broken Paths in generative-ai-for-beginners
104+
if: always()
105+
run: |
106+
cd generative-ai-for-beginners
107+
markdown-checker -d . -f check_broken_paths -gu ''
108+
- name: Test Check URLs Country locale in generative-ai-for-beginners
109+
if: always()
110+
run: |
111+
cd generative-ai-for-beginners
112+
markdown-checker -d . -f check_urls_locale -gu ''
113+
- name: Test Check Broken URLs in generative-ai-for-beginners
114+
if: always()
115+
run: |
116+
cd generative-ai-for-beginners
117+
markdown-checker -d . -f check_broken_urls -gu ''
118+
85119
tests-markdown-checker-repo:
86120
name: Python Tests on markdown-checker
87121
runs-on: ubuntu-latest

src/markdown_checker/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ def detect_issues(
9696
"dotnet.microsoft.com",
9797
"www.gemini.com",
9898
"upload.wikimedia.org",
99+
"medium.com",
100+
"blogs.nvidia.com",
101+
"blog.gopenai.com",
102+
"towardsdatascience.com",
99103
]
100104
)
101105
with concurrent.futures.ProcessPoolExecutor() as executor:

0 commit comments

Comments
 (0)