aboutsummaryrefslogtreecommitdiffstats
path: root/.builds/.run-tests.yml
blob: a433dc2b4d37c6e6442767653acd3740a8c0da5d (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
28
29
image: alpine/latest
packages:
  - bash
  - icu-libs
  - krb5-libs
  - libgcc
  - libintl
  - libssl1.1
  - libssl1.1
  - 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
  - navigate-to-repo: |
      cd $HOME/IOL.VippsEcommerce
  - restore: |
      dotnet restore src/IOL.VippsEcommerce.Tests/IOL.VippsEcommerce.Tests.csproj
  - build: |
      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