aboutsummaryrefslogtreecommitdiffstats
path: root/.builds/.run-tests.yml
blob: a48f5bb26be380c53a5bfa83b4b3c618d3b0cb34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
  - navigate-to-repo: |
      cd $HOME/IOL.VippsEcommerce
  - restore: |
      $HOME/.dotnet/dotnet restore src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj
  - build: |
      $HOME/.dotnet/dotnet build --no-restore src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj
  - test: |
      $HOME/.dotnet/dotnet test --no-build --verbosity normal src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj