-
Notifications
You must be signed in to change notification settings - Fork 29
83 lines (80 loc) · 2.27 KB
/
regression-dbsync.yaml
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: 02 Regression tests with db-sync
on:
workflow_dispatch:
inputs:
node_rev:
description: "cardano-node revision"
default: "master"
dbsync_rev:
description: "db-sync revision"
default: "master"
cluster_era:
type: choice
description: "Cluster era"
options:
- conway 9
- conway 10
default: conway 9
tx_era:
type: choice
description: "Tx era"
options:
- default
- conway
- babbage
default: default
markexpr:
type: choice
description: "Selection of tests"
options:
- all
- dbsync
- smoke
- plutus
- plutus and smoke
- team_plutus
- not long
- conway only
- dbsync and smoke
- dbsync and plutus
- dbsync and not long
default: dbsync
topology:
type: choice
description: "Network topology"
options:
- p2p
- legacy
- mixed
default: p2p
byron_cluster:
type: boolean
default: false
description: "Start cluster in Byron era"
testrun_name:
required: false
description: "Test run name (internal)"
skip_passed:
type: boolean
default: false
description: "Skip tests that already passed (internal)"
run-name: ${{ inputs.testrun_name && 'Run:' || ''}} ${{ inputs.testrun_name }} ${{ (inputs.testrun_name && inputs.skip_passed) && ':repeat:' || '' }}
jobs:
regression_tests:
# reusable workflow from local repo and same branch as this config
uses: ./.github/workflows/regression_reusable.yaml
with:
node_rev: ${{ inputs.node_rev }}
dbsync_rev: ${{ inputs.dbsync_rev }}
cluster_era: ${{ inputs.cluster_era }}
tx_era: ${{ inputs.tx_era }}
markexpr: ${{ inputs.markexpr }}
topology: ${{ inputs.topology }}
byron_cluster: ${{ inputs.byron_cluster }}
testrun_name: ${{ inputs.testrun_name }}
skip_passed: ${{ inputs.skip_passed }}
env-path: .github/env_regression_dbsync
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TCACHE_BASIC_AUTH: ${{ secrets.TCACHE_BASIC_AUTH }}
TCACHE_URL: ${{ secrets.TCACHE_URL }}