File: dobi.yaml

package info (click to toggle)
gotest.tools 2.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 656 kB
  • sloc: sh: 17; makefile: 8
file content (56 lines) | stat: -rw-r--r-- 924 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
meta:
  project: gotesttools

mount=source:
  bind: .
  path: /go/src/gotest.tools

mount=depsources:
 bind: ./.depsources
 path: /go/pkg/dep/sources

image=builder:
  image: gotesttools-dev
  context: .
  target: dev
  args:
    GOLANG_VERSION: '{env.GOLANG_VERSION:}'

image=linter:
  image: gotesttools-lint
  context: .
  target: linter

job=shell:
  use: builder
  mounts: [source, depsources]
  interactive: true
  command: sh

job=watch:
  use: builder
  mounts: [source]
  interactive: true
  command: |
      filewatcher -x vendor gotestsum -- -test.timeout 10s
  env:
    - 'GOTESTSUM_FORMAT=short-verbose'
    - 'GOTESTTOOLS_DEBUG={env.GOTESTTOOLS_DEBUG:}'

job=test-unit:
  use: builder
  mounts: [source]
  interactive: true
  command: scripts/test-unit

job=deps:
  use: builder
  mounts: [source, depsources]
  command: dep ensure

job=lint:
  use: linter
  mounts: [source]

alias=test:
  tasks: [test-unit]