Skip to content

Commit

Permalink
Merge pull request #41 from rsteube/goveralls
Browse files Browse the repository at this point in the history
ci: added goveralls
  • Loading branch information
rsteube authored May 8, 2022
2 parents 66f8708 + ca8c19a commit 771e0b4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,15 @@ jobs:
run: go build -v ./...

- name: Test
run: go test -v ./...
run: go test -v -coverprofile=profile.cov ./...

- name: "Check formatting"
run: '[ "$(gofmt -d -s . | tee -a /dev/stderr)" = "" ]'

- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov

- name: "staticcheck"
run: go install honnef.co/go/tools/cmd/staticcheck@latest && staticcheck ./...

Expand Down
4 changes: 4 additions & 0 deletions docs/src/SUMMARY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Summary

- [carapace-spec](./carapace-spec.md)
- [Command](./carapace-spec/command.md)
- [Flags](./carapace-spec/command/flags.md)
- [Completion](./carapace-spec/command/completion.md)
- [Macros](./carapace-spec/macros.md)
4 changes: 4 additions & 0 deletions example/example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ commands:
--dynamic=: dynamic value
--env=: env
--novalue: no value
--chdir=: chdir modifier
--multiparts=: multiparts modifier
-n, --nospace=: nospace
completion:
flag:
chdir: ["$chdir(/tmp)", "$files"]
multiparts: ["$multiparts(/)", "one/a/1", "one/a/2", "one/b/1", "one/b/2", "two/a/1"]
styled:
- "blue\tblue\tblue"
- "cyan\tcyan\tcyan"
Expand Down

0 comments on commit 771e0b4

Please sign in to comment.