-
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to GitHub actions for CI testing
Travis CI no longer seems to be working: https://app.travis-ci.com/github/mattn/go-colorable Add a GitHub action instead, based on the one from github.com/mattn/go-isatty
- Loading branch information
Showing
3 changed files
with
42 additions
and
16 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,41 @@ | ||
name: test | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- macos-latest | ||
- windows-latest | ||
go: | ||
- '1.17' | ||
- '1.16' | ||
- '1.15' | ||
- '1.14' | ||
- '1.13' | ||
steps: | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-versions: ${{ matrix.go }} | ||
- uses: actions/checkout@v2 | ||
- name: test | ||
shell: bash | ||
run: | | ||
./go.test.sh | ||
- name: upload coverage report | ||
uses: codecov/codecov-action@v2 | ||
with: | ||
env_vars: OS,GO | ||
env: | ||
OS: ${{ matrix.os }} | ||
GO: ${{ matrix.go }} |
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