Skip to content

Commit f7755f7

Browse files
authored
update test (#199)
1 parent 4044aee commit f7755f7

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
1-
on: pull_request
1+
name: Test
2+
on:
3+
push:
4+
pull_request:
5+
schedule:
6+
- cron: '0 9 * * 1' # M H d m w (Mondays at 9:00)
27
jobs:
3-
build:
8+
test:
9+
if: startsWith(github.ref, 'refs/tags') || github.event_name == 'pull_request' || github.event_name == 'schedule' || github.repository_owner != 'iterative'
410
runs-on: ubuntu-latest
511
steps:
6-
- uses: actions/setup-go@v2
7-
with:
8-
go-version: ^1.16
9-
- uses: actions/checkout@v2
10-
- run: make build
11-
- run: make test
12+
- uses: actions/setup-go@v2
13+
with:
14+
go-version: ^1.16
15+
- uses: actions/checkout@v2
16+
- run: make build
17+
- run: make test

0 commit comments

Comments
 (0)