diff --git a/build.sh b/build.sh index 0544184ed..1f04f5618 100755 --- a/build.sh +++ b/build.sh @@ -8,8 +8,10 @@ dotnet test test/Ocelot.UnitTests/ echo Running Ocelot.AcceptanceTests -dotnet restore test/Ocelot.AcceptanceTests/ -dotnet test test/Ocelot.AcceptanceTests/ +cd test/Ocelot.AcceptanceTests/ +dotnet restore +dotnet test +cd ../../ echo Building Ocelot diff --git a/run-tests.sh b/run-tests.sh index c79221736..c2a65fc76 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -8,7 +8,8 @@ dotnet test test/Ocelot.UnitTests/ echo Running Ocelot.AcceptanceTests -dotnet restore test/Ocelot.AcceptanceTests/ -dotnet test test/Ocelot.AcceptanceTests/ - +cd test/Ocelot.AcceptanceTests/ +dotnet restore +dotnet test +cd ../../