summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2021-04-09 21:36:13 +0200
committerivarlovlie <git@ivarlovlie.no>2021-04-09 21:36:13 +0200
commit1f27907ac4b611b17c8a23fa7c15d3731a2e5a7b (patch)
treeb9e61911c01baa9d8d9dd4e0edf875606e1c242d
parent140be24e113908643e0f75ba2d22100b8611757b (diff)
downloaddotnet-vipps-ecommerce-1f27907ac4b611b17c8a23fa7c15d3731a2e5a7b.tar.xz
dotnet-vipps-ecommerce-1f27907ac4b611b17c8a23fa7c15d3731a2e5a7b.zip
Use full path for dotnet
-rw-r--r--.builds/.run-tests.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.builds/.run-tests.yml b/.builds/.run-tests.yml
index a433dc2..cf4c368 100644
--- a/.builds/.run-tests.yml
+++ b/.builds/.run-tests.yml
@@ -10,20 +10,18 @@ packages:
- zlib
sources:
- https://git.sr.ht/~ivar/IOL.VippsEcommerce
-environment:
- PATH: $PATH:$HOME/.dotnet
tasks:
- install-dotnet: |
wget https://dot.net/v1/dotnet-install.sh
chmod +x dotnet-install.sh
bash dotnet-install.sh -c 5.0
- display-dotnet-info: |
- dotnet --info
+ ./$HOME/.dotnet/dotnet --info
- navigate-to-repo: |
cd $HOME/IOL.VippsEcommerce
- restore: |
- dotnet restore src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj
+ ./$HOME/.dotnet/dotnet restore src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj
- build: |
- dotnet build --no-restore src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj
+ ./$HOME/.dotnet/dotnet build --no-restore src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj
- test: |
- dotnet test --no-build --verbosity normal src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj
+ ./$HOME/.dotnet/dotnet test --no-build --verbosity normal src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj