Skip to content

Commit 25641a0

Browse files
committed
Add GHI CI configuration.
1 parent f38a7f4 commit 25641a0

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- '*'
6+
pull_request:
7+
schedule:
8+
- cron: 0 14 * * 0
9+
jobs:
10+
ci:
11+
name: Continuous Integration
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Set up Go
15+
uses: actions/setup-go@v1
16+
with:
17+
go-version: 1.13
18+
id: go
19+
- name: Checkout
20+
uses: actions/checkout@v1
21+
- name: Make
22+
run: make ci
23+
- name: Upload Coverage Reports
24+
if: success()
25+
run: |
26+
test ! -z "$TOKEN"
27+
bash <(curl -s https://codecov.io/bash) -t "$TOKEN" -B "${{ github.ref }}"
28+
env:
29+
TOKEN: "${{ secrets.CODECOV_TOKEN }}"

0 commit comments

Comments
 (0)