File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 82
82
cd Phi-3CookBook
83
83
markdown-checker -d . -f check_broken_urls -gu ''
84
84
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
+
85
119
tests-markdown-checker-repo :
86
120
name : Python Tests on markdown-checker
87
121
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -96,6 +96,10 @@ def detect_issues(
96
96
"dotnet.microsoft.com" ,
97
97
"www.gemini.com" ,
98
98
"upload.wikimedia.org" ,
99
+ "medium.com" ,
100
+ "blogs.nvidia.com" ,
101
+ "blog.gopenai.com" ,
102
+ "towardsdatascience.com" ,
99
103
]
100
104
)
101
105
with concurrent .futures .ProcessPoolExecutor () as executor :
You can’t perform that action at this time.
0 commit comments