Isolate config
in individual docs pages for sclicheck.DocTests
#1965
Labels
internal
Internal or build-related changes
Describe what needs to be done and why
sclicheck
currently isolates anyconfig
sub-command calls withindocs-tests
.This prevents the tested settings to leak to other parts of CI builds & tests, but unfortunately does not prevent those settings to leak between individual docs pages tests.
i.e.
sclicheck.DocTests.guide proxies
currently doesn't run its examples, as the proxy settings would be shared with other docs tests and break them (as proxy settings are shared with coursier).Ideally,
config
should be isolated to individual docs' pages tests.Is your feature request related to a past ticket or discussion?
#1917 (11c56c4 in particular)
Describe alternatives you've considered
We could alternatively isolate each
bash
code block'sconfig
, but that would disable testing the whole flow described in a doc.The text was updated successfully, but these errors were encountered: