Skip to content

Commit

Permalink
trying only: npm, yarn, dotnet
Browse files Browse the repository at this point in the history
  • Loading branch information
eranturgeman committed Dec 12, 2023
1 parent f723940 commit faece34
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions utils/tests/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ func GetNonVirtualRepositories() map[*string]string {
TestPip: {&PypiRemoteRepo},
TestPipenv: {&PipenvRemoteRepo},
TestPlugins: {&RtRepo1},
TestXray: {&NpmRemoteRepo, &NugetRemoteRepo, &YarnRemoteRepo, &GradleRemoteRepo, &MvnRemoteRepo, &GoRepo, &GoRemoteRepo},
TestXray: {&NpmRemoteRepo, &NugetRemoteRepo, &YarnRemoteRepo}, //, &GradleRemoteRepo, &MvnRemoteRepo, &GoRepo, &GoRemoteRepo, &PipenvRemoteRepo},

Check failure on line 401 in utils/tests/utils.go

View workflow job for this annotation

GitHub Actions / Static Check ubuntu-latest

commentFormatting: put a space between `//` and comment text (gocritic)
TestAccess: {&RtRepo1},
TestTransfer: {&RtRepo1, &RtRepo2, &MvnRepo1, &MvnRemoteRepo, &DockerRemoteRepo},
TestLifecycle: {&RtDevRepo, &RtProdRepo},
Expand All @@ -422,7 +422,7 @@ func GetVirtualRepositories() map[*string]string {
TestPip: {&PypiVirtualRepo},
TestPipenv: {&PipenvVirtualRepo},
TestPlugins: {},
TestXray: {&GoVirtualRepo},
TestXray: {}, // {&GoVirtualRepo},
TestAccess: {},
}
return getNeededRepositories(virtualReposMap)
Expand Down
13 changes: 6 additions & 7 deletions xray_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1002,15 +1002,14 @@ func TestDependencyResolutionFromArtifactory(t *testing.T) {
cacheRepoName: tests.MvnRemoteRepo,
projectType: artUtils.Maven,
},
{
testProjectPath: []string{"go", "simple-project"},
resolveRepoName: tests.GoVirtualRepo,
cacheRepoName: tests.GoRemoteRepo,
projectType: artUtils.Go,
},
*/
{
testProjectPath: []string{"go", "simple-project"},
resolveRepoName: tests.GoVirtualRepo,
cacheRepoName: tests.GoRemoteRepo,
projectType: artUtils.Go,
},

/*
{
Expand Down

0 comments on commit faece34

Please sign in to comment.