aboutsummaryrefslogtreecommitdiffstats
path: root/.builds/.run-tests.yml
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2021-04-09 21:52:17 +0200
committerivarlovlie <git@ivarlovlie.no>2021-04-09 21:52:17 +0200
commitf132429220afd138e03eb7ad663bed6c6d104a78 (patch)
treebbf5b3ee3400de0c88a74a4a5d6ccd81cab7449f /.builds/.run-tests.yml
parent600a406e3df175dc54fa449f1d73f673ffc4cc34 (diff)
parent7e0373f87ef4412708560489e06f734a36923a1b (diff)
downloaddotnet-vipps-ecommerce-f132429220afd138e03eb7ad663bed6c6d104a78.tar.xz
dotnet-vipps-ecommerce-f132429220afd138e03eb7ad663bed6c6d104a78.zip
Merge branch 'migrate-to-srht'
Diffstat (limited to '.builds/.run-tests.yml')
-rw-r--r--.builds/.run-tests.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.builds/.run-tests.yml b/.builds/.run-tests.yml
new file mode 100644
index 0000000..c043173
--- /dev/null
+++ b/.builds/.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