Skip to content

Commit 43075d8

Browse files
committed
test: add URL check job to CI pipeline
1 parent 18adeb8 commit 43075d8

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,27 @@ jobs:
1919
docs/*.md
2020
2121
22+
url_check:
23+
name: URL Check
24+
runs-on: ubuntu-latest
25+
26+
steps:
27+
- uses: actions/checkout@v3
28+
- name: urls-checker
29+
uses: urlstechie/urlchecker-action@master
30+
with:
31+
# A comma-separated list of file types to cover in the URL checks
32+
file_types: .md
33+
# Choose whether to include file with no URLs in the prints.
34+
print_all: false
35+
# The timeout seconds to provide to requests, defaults to 5 seconds
36+
timeout: 5
37+
# How many times to retry a failed request (each is logged, defaults to 1)
38+
retry_count: 2
39+
# A comma separated patterns to exclude during URL checks
40+
exclude_patterns: https://github.com/Chr157i4n/PyTmcStepper
41+
42+
2243
pylint:
2344
name: Pylint
2445
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)