File tree Expand file tree Collapse file tree 12 files changed +894
-68
lines changed Expand file tree Collapse file tree 12 files changed +894
-68
lines changed Original file line number Diff line number Diff line change
1
+ root = true
2
+
3
+ [* ]
4
+ end_of_line = lf
5
+ insert_final_newline = true
Original file line number Diff line number Diff line change
1
+ name : ci
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ branches :
9
+ - main
10
+
11
+ jobs :
12
+ run-tests :
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - name : Checkout repository
17
+ uses : actions/checkout@v3
18
+
19
+ - name : Set up Rust
20
+ uses : actions-rs/toolchain@v1
21
+ with :
22
+ toolchain : stable
23
+ profile : minimal
24
+ override : true
25
+
26
+ - name : Cache cargo registry
27
+ uses : actions/cache@v3
28
+ with :
29
+ path : ~/.cargo/registry
30
+ key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
31
+ restore-keys : |
32
+ ${{ runner.os }}-cargo-registry-
33
+
34
+ - name : Run tests
35
+ run : cargo test
Original file line number Diff line number Diff line change
1
+ {
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ "version" : " 0.2.0" ,
6
+ "configurations" : [
7
+ {
8
+ "type" : " lldb" ,
9
+ "request" : " launch" ,
10
+ "name" : " Debug unit tests in library 'spaced'" ,
11
+ "cargo" : {
12
+ "args" : [
13
+ " test" ,
14
+ " --no-run" ,
15
+ " --lib" ,
16
+ " --package=spaced"
17
+ ],
18
+ "filter" : {
19
+ "name" : " spaced" ,
20
+ "kind" : " lib"
21
+ }
22
+ },
23
+ "args" : [],
24
+ "cwd" : " ${workspaceFolder}"
25
+ },
26
+ {
27
+ "type" : " lldb" ,
28
+ "request" : " launch" ,
29
+ "name" : " Debug executable 'space-cli'" ,
30
+ "cargo" : {
31
+ "args" : [
32
+ " build" ,
33
+ " --bin=space-cli" ,
34
+ " --package=spaced"
35
+ ],
36
+ "filter" : {
37
+ "name" : " space-cli" ,
38
+ "kind" : " bin"
39
+ }
40
+ },
41
+ "args" : [],
42
+ "cwd" : " ${workspaceFolder}"
43
+ },
44
+ {
45
+ "type" : " lldb" ,
46
+ "request" : " launch" ,
47
+ "name" : " Debug unit tests in executable 'space-cli'" ,
48
+ "cargo" : {
49
+ "args" : [
50
+ " test" ,
51
+ " --no-run" ,
52
+ " --bin=space-cli" ,
53
+ " --package=spaced"
54
+ ],
55
+ "filter" : {
56
+ "name" : " space-cli" ,
57
+ "kind" : " bin"
58
+ }
59
+ },
60
+ "args" : [],
61
+ "cwd" : " ${workspaceFolder}"
62
+ },
63
+ {
64
+ "type" : " lldb" ,
65
+ "request" : " launch" ,
66
+ "name" : " Debug executable 'spaced'" ,
67
+ "cargo" : {
68
+ "args" : [
69
+ " build" ,
70
+ " --bin=spaced" ,
71
+ " --package=spaced"
72
+ ],
73
+ "filter" : {
74
+ "name" : " spaced" ,
75
+ "kind" : " bin"
76
+ }
77
+ },
78
+ "args" : [],
79
+ "cwd" : " ${workspaceFolder}"
80
+ },
81
+ {
82
+ "type" : " lldb" ,
83
+ "request" : " launch" ,
84
+ "name" : " Debug unit tests in executable 'spaced'" ,
85
+ "cargo" : {
86
+ "args" : [
87
+ " test" ,
88
+ " --no-run" ,
89
+ " --bin=spaced" ,
90
+ " --package=spaced"
91
+ ],
92
+ "filter" : {
93
+ "name" : " spaced" ,
94
+ "kind" : " bin"
95
+ }
96
+ },
97
+ "args" : [],
98
+ "cwd" : " ${workspaceFolder}"
99
+ },
100
+ {
101
+ "type" : " lldb" ,
102
+ "request" : " launch" ,
103
+ "name" : " Debug unit tests in library 'protocol'" ,
104
+ "cargo" : {
105
+ "args" : [
106
+ " test" ,
107
+ " --no-run" ,
108
+ " --lib" ,
109
+ " --package=protocol"
110
+ ],
111
+ "filter" : {
112
+ "name" : " protocol" ,
113
+ "kind" : " lib"
114
+ }
115
+ },
116
+ "args" : [],
117
+ "cwd" : " ${workspaceFolder}"
118
+ },
119
+ {
120
+ "type" : " lldb" ,
121
+ "request" : " launch" ,
122
+ "name" : " Debug unit tests in library 'wallet'" ,
123
+ "cargo" : {
124
+ "args" : [
125
+ " test" ,
126
+ " --no-run" ,
127
+ " --lib" ,
128
+ " --package=wallet"
129
+ ],
130
+ "filter" : {
131
+ "name" : " wallet" ,
132
+ "kind" : " lib"
133
+ }
134
+ },
135
+ "args" : [],
136
+ "cwd" : " ${workspaceFolder}"
137
+ }
138
+ ]
139
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "cSpell.words" : [
3
+ " bitcoind" ,
4
+ " regtest" ,
5
+ " tempdir" ,
6
+ " tempfile"
7
+ ]
8
+ }
You can’t perform that action at this time.
0 commit comments