-
Notifications
You must be signed in to change notification settings - Fork 4
41 lines (40 loc) · 1019 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
on: [push, pull_request]
name: test
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: [1.16.x]
os:
- ubuntu-latest
# - macos-latest
# - windows-latest
steps:
- name: Skip if commit type is skippable
uses: mstachniuk/ci-skip@v1
with:
commit-filter: >
📝 :memo:
✏️ :pencil2:
📄 :page_facing_up:
💡 :bulb:
💬 :speech_baloon:
🔊 :loud_sound:
🔇 :mute:
👥 :busts_in_silhouette:
🙈 :see_no_evil:
🧪 :test_tube:
commit-filter-separator: ' '
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: make tests
- name: Upload coverage
uses: codecov/codecov-action@v2
with:
verbose: yes