Skip to content

Commit

Permalink
Merge pull request #169 from dnephin/ci-go-1.16
Browse files Browse the repository at this point in the history
ci: Add go 1.16
  • Loading branch information
dnephin committed Dec 19, 2020
2 parents 9c36896 + 7414759 commit 3c47e87
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ orbs:
workflows:
ci:
jobs:
- go/test:
name: test-go-1.12
gotestsum-format: short-verbose
executor:
name: go/golang
tag: 1.12-alpine

- go/test:
name: test-go-1.13
gotestsum-format: short-verbose
Expand All @@ -34,6 +27,13 @@ workflows:
name: go/golang
tag: 1.15-alpine

- go/test:
name: test-go-1.16
gotestsum-format: short-verbose
executor:
name: go/golang
tag: 1.16-rc-alpine

- go/test:
name: test-windows
executor: windows
Expand Down
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,18 @@ tests for the package which contains the changed file. By default all
directories under the current directory will be watched. Use the `--packages` flag
to specify a different list.

While in watch mode, pressing `r` will re-run the tests for the previous event.
While in watch mode, pressing some keys will perform an action:

* `r` will run tests for the previous event.
* `d` will run tests for the previous event using `dlv test`, allowing you to
debug a test failure using [delve] A breakpoint will automatically be added at
the first line of any tests which failed in the previous run. Additional
breakpoints can be added with [`runtime.Breakpoint`](https://golang.org/pkg/runtime/#Breakpoint)
or by using the delve command prompt.

Note that [delve] must be installed in order to use debug (`d`).

[delve]: https://github.com/go-delve/delve

**Example: run tests for a package when any file in that package is saved**
```
Expand Down

0 comments on commit 3c47e87

Please sign in to comment.