aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.builds/.run-tests.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.builds/.run-tests.yml b/.builds/.run-tests.yml
index b1f5ab2..a433dc2 100644
--- a/.builds/.run-tests.yml
+++ b/.builds/.run-tests.yml
@@ -10,16 +10,20 @@ 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/dotnet --info
+ dotnet --info
+ - navigate-to-repo: |
+ cd $HOME/IOL.VippsEcommerce
- restore: |
- ./.dotnet/dotnet restore src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj
+ dotnet restore src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj
- build: |
- ./.dotnet/dotnet build --no-restore src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj
+ dotnet build --no-restore src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj
- test: |
- ./.dotnet/dotnet test --no-build --verbosity normal src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj
+ dotnet test --no-build --verbosity normal src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj