-
Notifications
You must be signed in to change notification settings - Fork 9
69 lines (67 loc) · 2.16 KB
/
pull-request.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: Pull Request
on: [ pull_request ]
jobs:
nix_build:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version: '1.17'
- uses: cachix/install-nix-action@6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: run nix build
run: nix build
lint_and_units:
runs-on: ubuntu-20.04
timeout-minutes: 60
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version: '1.17'
- name: golangci-lint
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc
with:
version: v1.42
- name: run lint
run: ./scripts/runLint.sh
- name: run unit tests
run: ./scripts/runUnitTests.sh
acceptance:
runs-on: ubuntu-20.04
timeout-minutes: 60
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- name: run acceptance tests
run: ./scripts/runIntegrationAcceptance.sh
performance:
runs-on: ubuntu-20.04
timeout-minutes: 60
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- name: run performance tests
run: ./scripts/runIntegrationPerformance.sh
fault_injection:
runs-on: ubuntu-20.04
timeout-minutes: 60
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- name: run fault injection tests
run: ./scripts/runIntegrationFaultInjection.sh
meteor:
runs-on: ubuntu-20.04
timeout-minutes: 60
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- name: run meteor tests
run: ./scripts/runIntegrationMeteor.sh
blackbox:
runs-on: ubuntu-20.04
timeout-minutes: 60
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- name: run blackbox tests
run: ./scripts/runBlackboxTests.sh