Skip to content

Commit

Permalink
test tabmgr against fx 64/65
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronmi committed Mar 4, 2019
1 parent 8896856 commit f5cc484
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .drone.jsonnet
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
local paths = [".", "mnsender", "mnclient", "tabmgr"];
local govers = ["1.10.8", "1.11.5", "1.12"];
local fxvers = ["66.0b9", "66.0b12"];
local tabmgrfx = ["64.0", "65.0"];

local TestTabmgrStep(go, fx) = {
name: "test-tabmgr-go"+go+"-fx"+fx,
image: "ronmi/go-firefox",
environment: {
GO_VER: go,
FX_VER: fx,
},
commands: [
"run-test.sh go test -p 2 -bench ./tabmgr -benchmem -cover",
],
volumes: [
{name: "opt", path: "/opt"},
],
};

local TestCmd(dir) = [
"run-test.sh go test -p 2 -bench ./"+dir+" -benchmem -cover",
Expand Down Expand Up @@ -37,7 +53,11 @@ local TestPipeline() = {
path: "src/github.com/raohwork/marionette-go"
},
steps: [
] + byGo(),
] + byGo() + [
TestTabmgrStep(go, fx)
for go in govers
for fx in tabmgrfx
],
volumes: [
{name: "opt", temp: {size_limit: "5g"}},
],
Expand Down
66 changes: 66 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,72 @@ steps:
- name: opt
path: /opt

- name: test-tabmgr-go1.10.8-fx64.0
image: ronmi/go-firefox
commands:
- run-test.sh go test -p 2 -bench ./tabmgr -benchmem -cover
environment:
FX_VER: 64.0
GO_VER: 1.10.8
volumes:
- name: opt
path: /opt

- name: test-tabmgr-go1.10.8-fx65.0
image: ronmi/go-firefox
commands:
- run-test.sh go test -p 2 -bench ./tabmgr -benchmem -cover
environment:
FX_VER: 65.0
GO_VER: 1.10.8
volumes:
- name: opt
path: /opt

- name: test-tabmgr-go1.11.5-fx64.0
image: ronmi/go-firefox
commands:
- run-test.sh go test -p 2 -bench ./tabmgr -benchmem -cover
environment:
FX_VER: 64.0
GO_VER: 1.11.5
volumes:
- name: opt
path: /opt

- name: test-tabmgr-go1.11.5-fx65.0
image: ronmi/go-firefox
commands:
- run-test.sh go test -p 2 -bench ./tabmgr -benchmem -cover
environment:
FX_VER: 65.0
GO_VER: 1.11.5
volumes:
- name: opt
path: /opt

- name: test-tabmgr-go1.12-fx64.0
image: ronmi/go-firefox
commands:
- run-test.sh go test -p 2 -bench ./tabmgr -benchmem -cover
environment:
FX_VER: 64.0
GO_VER: 1.12
volumes:
- name: opt
path: /opt

- name: test-tabmgr-go1.12-fx65.0
image: ronmi/go-firefox
commands:
- run-test.sh go test -p 2 -bench ./tabmgr -benchmem -cover
environment:
FX_VER: 65.0
GO_VER: 1.12
volumes:
- name: opt
path: /opt

volumes:
- name: opt
temp:
Expand Down

0 comments on commit f5cc484

Please sign in to comment.