forked from blockfrost/blockfrost-backend-ryo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
43 lines (38 loc) · 1022 Bytes
/
.gitlab-ci.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
stages:
- prebuild
- build
- integration tests - mainnet
- integration tests - testnets
Lint, Typescript:
stage: prebuild
script:
- nix-shell --run "yarn"
- nix-shell --run "yarn run lint"
- nix-shell --run "yarn type-check"
- nix-shell --run "yarn run test"
- nix-shell --run "yarn run coverage"
- nix-shell --run "yarn run build"
Nix build:
stage: build
needs:
- Lint, Typescript
script:
- nix-build -A blockfrost-backend-ryo
Integration tests - mainnet:
stage: integration tests - mainnet
needs:
- Nix build
script:
- nix-build -A blockfrost-backend-ryo-test-mainnet --option sandbox false
Integration tests - preview:
stage: integration tests - testnets
needs:
- Nix build
script:
- nix-build -A blockfrost-backend-ryo-test-preview --option sandbox false
Integration tests - preprod:
stage: integration tests - testnets
needs:
- Nix build
script:
- nix-build -A blockfrost-backend-ryo-test-preprod --option sandbox false