File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,23 @@ jobs:
194
194
- name : run check
195
195
run : make unit-race
196
196
197
+ unit :
198
+ name : unit tests
199
+ runs-on : ubuntu-latest
200
+ steps :
201
+ - name : git checkout
202
+ uses : actions/checkout@v2
203
+ with :
204
+ fetch-depth : 0
205
+
206
+ - name : setup go ${{ env.GO_VERSION }}
207
+ uses : actions/setup-go@v2
208
+ with :
209
+ go-version : ' ${{ env.GO_VERSION }}'
210
+
211
+ - name : run check
212
+ run : make unit
213
+
197
214
itest :
198
215
name : integration test
199
216
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -148,15 +148,16 @@ check: unit
148
148
149
149
unit :
150
150
@$(call print, "Running unit tests.")
151
- $(UNIT )
151
+ mkdir -p app/build && touch app/build/index.html
152
+ $(UNIT ) -tags=" $( LND_RELEASE_TAGS) "
152
153
153
154
unit-cover : $(GOACC_BIN )
154
155
@$(call print, "Running unit coverage tests.")
155
156
$(GOACC_BIN ) $(COVER_PKG )
156
157
157
158
unit-race :
158
159
@$(call print, "Running unit race tests.")
159
- mkdir app/build && touch app/build/index.html
160
+ mkdir -p app/build && touch app/build/index.html
160
161
env CGO_ENABLED=1 GORACE=" history_size=7 halt_on_errors=1" $(UNIT_RACE ) -tags=" $( LND_RELEASE_TAGS) "
161
162
162
163
goveralls : $(GOVERALLS_BIN )
You can’t perform that action at this time.
0 commit comments