aboutsummaryrefslogtreecommitdiffstats
path: root/.srht/.run-tests.yml
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2021-04-16 20:00:45 +0200
committerivarlovlie <git@ivarlovlie.no>2021-04-16 20:00:45 +0200
commit88545536d9e4b6576eb0906568d771f87338940a (patch)
tree5991b393b1034bacd5fba439a65f25d42386c793 /.srht/.run-tests.yml
parent210d105fa7fc682c879e318876b600114d1c8846 (diff)
downloaddotnet-vipps-ecommerce-88545536d9e4b6576eb0906568d771f87338940a.tar.xz
dotnet-vipps-ecommerce-88545536d9e4b6576eb0906568d771f87338940a.zip
Rename .builds to .srht
Diffstat (limited to '.srht/.run-tests.yml')
-rw-r--r--.srht/.run-tests.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.srht/.run-tests.yml b/.srht/.run-tests.yml
new file mode 100644
index 0000000..c043173
--- /dev/null
+++ b/.srht/.run-tests.yml
@@ -0,0 +1,28 @@
+image: alpine/latest
+packages:
+ - bash
+ - icu-libs
+ - krb5-libs
+ - libgcc
+ - libintl
+ - libssl1.1
+ - libssl1.1
+ - zlib
+sources:
+ - https://git.sr.ht/~ivar/IOL.VippsEcommerce
+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: |
+ $HOME/.dotnet/dotnet --info
+ - restore: |
+ cd $HOME/IOL.VippsEcommerce
+ $HOME/.dotnet/dotnet restore src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj
+ - build: |
+ cd $HOME/IOL.VippsEcommerce
+ $HOME/.dotnet/dotnet build --no-restore src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj
+ - test: |
+ cd $HOME/IOL.VippsEcommerce
+ $HOME/.dotnet/dotnet test --no-build --verbosity normal src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj