Skip to content
This repository has been archived by the owner on Mar 15, 2023. It is now read-only.

Thanks travis ci #6

Merged
merged 5 commits into from
Nov 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 24 additions & 10 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Go
name: Test
on: [push, pull_request]

jobs:

build:
test:
strategy:
matrix:
os:
Expand All @@ -18,13 +18,27 @@ jobs:
runs-on: ${{ matrix.os }}
steps:

- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}

- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Test
run: go test -v ./...
- name: Test and send coverage
uses: shogo82148/actions-goveralls@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
job-number: ${{ strategy.job-index }}

# notifies that all test jobs are finished.
finish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: shogo82148/actions-goveralls@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.com/shogo82148/goacors.svg?branch=master)](https://travis-ci.org/shogo82148/goacors)
[![Build Status](https://github.com/shogo82148/goacors/workflows/Test/badge.svg?branch=master)](https://github.com/shogo82148/goacors/actions)
[![Coverage Status](https://coveralls.io/repos/github/shogo82148/goacors/badge.svg?branch=master&service=github)](https://coveralls.io/github/shogo82148/goacors?branch=master) [![GoDoc](https://godoc.org/github.com/shogo82148/goacors?status.svg)](https://godoc.org/github.com/shogo82148/goacors)

# goacors
Expand Down