scaleway-cli: re-enabled checkPhase
This commit is contained in:
parent
4b41bb45ca
commit
6a64808fc8
@ -23,8 +23,24 @@ buildGoModule rec {
|
|||||||
"-X main.BuildDate=unknown"
|
"-X main.BuildDate=unknown"
|
||||||
];
|
];
|
||||||
|
|
||||||
# some tests require network access to scaleway's API, failing when sandboxed
|
doCheck = true;
|
||||||
doCheck = false;
|
|
||||||
|
# Some tests require access to scaleway's API, failing when sandboxed
|
||||||
|
preCheck = ''
|
||||||
|
substituteInPlace internal/core/bootstrap_test.go \
|
||||||
|
--replace "TestInterruptError" "SkipInterruptError"
|
||||||
|
substituteInPlace internal/e2e/errors_test.go \
|
||||||
|
--replace "TestStandardErrors" "SkipStandardErrors"
|
||||||
|
substituteInPlace internal/e2e/human_test.go \
|
||||||
|
--replace "TestTestCommand" "SkipTestCommand" \
|
||||||
|
--replace "TestHumanCreate" "SkipHumanCreate" \
|
||||||
|
--replace "TestHumanList" "SkipHumanList" \
|
||||||
|
--replace "TestHumanUpdate" "SkipHumanUpdate" \
|
||||||
|
--replace "TestHumanGet" "SkipHumanGet" \
|
||||||
|
--replace "TestHumanDelete" "SkipHumanDelete"
|
||||||
|
substituteInPlace internal/e2e/sdk_errors_test.go \
|
||||||
|
--replace "TestSdkStandardErrors" "SkipSdkStandardErrors"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Interact with Scaleway API from the command line";
|
description = "Interact with Scaleway API from the command line";
|
||||||
|
Loading…
Reference in New Issue
Block a user