File tree Expand file tree Collapse file tree 1 file changed +10
-18
lines changed Expand file tree Collapse file tree 1 file changed +10
-18
lines changed Original file line number Diff line number Diff line change @@ -19,25 +19,10 @@ jobs:
19
19
20
20
# Service containers to run with `container-job`
21
21
services :
22
- # Label used to access the service container
23
- redis :
24
- # Docker Hub image
25
- image : redis
26
- # Set health checks to wait until redis has started
27
- options : >-
28
- --health-cmd "redis-cli ping"
29
- --health-interval 10s
30
- --health-timeout 5s
31
- --health-retries 5
22
+ nats :
23
+ image : nats
32
24
ports :
33
- # Maps port 6379 on service container to the host
34
- - 6379:6379
35
-
36
- nsq :
37
- image : nsqio/nsq
38
- ports :
39
- # Maps port 6379 on service container to the host
40
- - 4150:4150
25
+ - 4222:4222
41
26
42
27
env :
43
28
GO111MODULE : on
58
43
uses : golangci/golangci-lint-action@v2
59
44
with :
60
45
version : v1.41.1
46
+
47
+ - name : Run Tests
48
+ run : |
49
+ go test -v -covermode=atomic -coverprofile=coverage.out .
50
+
51
+ - name : Upload coverage to Codecov
52
+ uses : codecov/codecov-action@v1
You can’t perform that action at this time.
0 commit comments