File tree Expand file tree Collapse file tree 3 files changed +32
-6
lines changed
Expand file tree Collapse file tree 3 files changed +32
-6
lines changed Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ tags :
8+ pull_request :
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v2
15+ - name : Setup go
16+ uses : actions/setup-go@v2
17+ with :
18+ go-version : 1.14
19+ - name : Run build
20+ run : make clean build
21+ - name : Run test
22+ run : make test
23+ - name : Run docker build
24+ run : make docker-build
Original file line number Diff line number Diff line change 22
33** Work in progress**
44
5+ ![ Build] ( https://github.com/grepplabs/mqtt-proxy/workflows/build/badge.svg )
6+
57MQTT Proxy allows MQTT clients to send messages to other messaging systems
68
79
Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ func newTestPublisherOrExit() *Publisher {
4141
4242func TestPublishIT (t * testing.T ) {
4343
44- // if os.Getenv("IT") != "yes" {
45- // t.Skip("Skipping IT test")
46- // }
44+ if os .Getenv ("IT" ) != "yes" {
45+ t .Skip ("Skipping IT test" )
46+ }
4747
4848 publisher := newTestPublisherOrExit ()
4949 logger := publisher .logger
@@ -75,9 +75,9 @@ func TestPublishIT(t *testing.T) {
7575}
7676
7777func TestPublishAsyncIT (t * testing.T ) {
78- // if os.Getenv("IT") != "yes" {
79- // t.Skip("Skipping IT test")
80- // }
78+ if os .Getenv ("IT" ) != "yes" {
79+ t .Skip ("Skipping IT test" )
80+ }
8181
8282 publisher := newTestPublisherOrExit ()
8383
You can’t perform that action at this time.
0 commit comments