Use xrefcheck's config to increase the timeout
This commit is contained in:
parent
2b790b0ebc
commit
5cbeab0a3b
@ -79,8 +79,7 @@ xrefcheck:
|
||||
# Once flakes roll out to stable
|
||||
# - nix run -f https://github.com/serokell/xrefcheck/archive/v0.1.1.2.tar.gz -c 'xrefcheck local-only'
|
||||
- curl -L https://github.com/serokell/xrefcheck/releases/download/v0.1.1/release.tar.gz | tar -zxf - xrefcheck/bin/xrefcheck
|
||||
# TODO: for now use --mode=local-only because we cannot configure the timeout and some Tezos documentation URLs take a while to reply.
|
||||
- xrefcheck/bin/xrefcheck --mode=local-only
|
||||
- xrefcheck/bin/xrefcheck
|
||||
|
||||
# Strange race conditions, disable for now
|
||||
.webide-e2e:
|
||||
|
49
.xrefcheck.yaml
Normal file
49
.xrefcheck.yaml
Normal file
@ -0,0 +1,49 @@
|
||||
# SPDX-FileCopyrightText: 2019 Serokell <https://serokell.io>
|
||||
#
|
||||
# SPDX-License-Identifier: Unlicense
|
||||
|
||||
# Parameters of repository traversal.
|
||||
traversal:
|
||||
# Files and folders which we pretend do not exist
|
||||
# (so they are neither analyzed nor can be referenced).
|
||||
ignored:
|
||||
# Git files
|
||||
- .git
|
||||
- xrefcheck
|
||||
|
||||
# Verification parameters.
|
||||
verification:
|
||||
# On 'anchor not found' error, how much similar anchors should be displayed as
|
||||
# hint. Number should be between 0 and 1, larger value means stricter filter.
|
||||
anchorSimilarityThreshold: 0.5
|
||||
|
||||
# When checking external references, how long to wait on request before
|
||||
# declaring "Response timeout".
|
||||
externalRefCheckTimeout: 60s
|
||||
|
||||
# Prefixes of files, references in which should not be analyzed.
|
||||
notScanned:
|
||||
# GitHub-specific files
|
||||
- .github/pull_request_template.md
|
||||
- .github/issue_template.md
|
||||
- .github/PULL_REQUEST_TEMPLATE
|
||||
- .github/ISSUE_TEMPLATE
|
||||
|
||||
# GitLab-specific files
|
||||
- .gitlab/merge_request_templates/
|
||||
- .gitlab/issue_templates/
|
||||
|
||||
# Glob patterns describing the files which do not physically exist in the
|
||||
# repository but should be treated as existing nevertheless.
|
||||
virtualFiles:
|
||||
# GitHub pages
|
||||
- ../../../issues
|
||||
- ../../../issues/*
|
||||
- ../../../pulls
|
||||
- ../../../pulls/*
|
||||
|
||||
# GitLab pages
|
||||
- ../../issues
|
||||
- ../../issues/*
|
||||
- ../../merge_requests
|
||||
- ../../merge_requests/*
|
Loading…
Reference in New Issue
Block a user