Skip to content

Commit

Permalink
GitHub CI: Run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrister committed May 10, 2021
1 parent d0bd8d6 commit dab12b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
go get -v -t -d ./...
- name: Run go fmt
run: diff -u <(echo -n) <(gofmt -d -s .)
- name: Run tests
run: |
go test -v \
-race \
./...
- name: Build test version
run: ./script/build.bash linux amd64 test-build; mv dist/hcloud* cmd/hcloud/hcloud
- name: Run bats
Expand Down

0 comments on commit dab12b0

Please sign in to comment.