mirror of
https://github.com/github/codeql.git
synced 2026-08-05 18:03:27 +02:00
13 lines
483 B
Python
13 lines
483 B
Python
import os
|
|
import runs_on
|
|
|
|
|
|
@runs_on.posix
|
|
def test(codeql, csharp):
|
|
# Making sure the reachability test of `nuget.org` succeeds:
|
|
os.environ["CODEQL_EXTRACTOR_CSHARP_BUILDLESS_NUGET_FEEDS_CHECK_FALLBACK_TIMEOUT"] = "1000"
|
|
os.environ["CODEQL_EXTRACTOR_CSHARP_BUILDLESS_NUGET_FEEDS_CHECK_FALLBACK_LIMIT"] = "5"
|
|
|
|
# This test checks that the nuget.config file in the clear folder is not applied to the restore of the project.
|
|
codeql.database.create(build_mode="none")
|