-
Notifications
You must be signed in to change notification settings - Fork 607
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: move tests from Travis CI to GitHub Actions
- Loading branch information
Showing
3 changed files
with
36 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Tests | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- 'LICENSE' | ||
- '**.md' | ||
- 'examples/*' | ||
- 'templates/*' | ||
pull_request: | ||
paths-ignore: | ||
- 'LICENSE' | ||
- '**.md' | ||
- 'examples/*' | ||
- 'templates/*' | ||
|
||
jobs: | ||
unit: | ||
name: Unit Tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install dependencies | ||
run: make get-deps | ||
|
||
- name: Build docker-gen | ||
run: make docker-gen | ||
|
||
- name: Check code formatting | ||
run: make check-gofmt | ||
|
||
- name: Run tests | ||
run: make test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters