Commit 04eba85 1 parent 95f3a94 commit 04eba85 Copy full SHA for 04eba85
File tree 3 files changed +34
-16
lines changed
3 files changed +34
-16
lines changed Original file line number Diff line number Diff line change
1
+ name : Test
2
+
3
+ on :
4
+ push :
5
+ branches : [ "master" ]
6
+ pull_request :
7
+ branches : [ "master" ]
8
+
9
+ jobs :
10
+
11
+ build :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+
16
+ - name : Set up Go
17
+ uses : actions/setup-go@v4
18
+ with :
19
+ go-version : ' 1.20'
20
+
21
+ - name : Install dependencies
22
+ run : go mod download
23
+
24
+ - name : Run tests
25
+ run : go test -race -covermode atomic -coverprofile=covprofile ./...
26
+
27
+ - if : github.event_name != 'pull_request'
28
+ name : Send coverage
29
+ env :
30
+ COVERALLS_TOKEN : ${{ secrets.COVERALLS_TOKEN }}
31
+ run : |
32
+ go install github.com/mattn/goveralls@latest
33
+ goveralls -coverprofile=covprofile -service=github
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
[ ![ GoReportCard] ( http://goreportcard.com/badge/github.com/asticode/go-astisub )] ( http://goreportcard.com/report/github.com/asticode/go-astisub )
2
2
[ ![ GoDoc] ( https://godoc.org/github.com/asticode/go-astisub?status.svg )] ( https://godoc.org/github.com/asticode/go-astisub )
3
- [ ![ Travis ] ( https://travis-ci .com/asticode/go-astisub. svg?branch=master )] ( https://travis-ci .com/asticode/go-astisub# )
3
+ [ ![ Test ] ( https://github .com/asticode/go-astisub/actions/workflows/test.yml/badge. svg )] ( https://github .com/asticode/go-astisub/actions/workflows/test.yml )
4
4
[ ![ Coveralls] ( https://coveralls.io/repos/github/asticode/go-astisub/badge.svg?branch=master )] ( https://coveralls.io/github/asticode/go-astisub )
5
5
6
6
This is a Golang library to manipulate subtitles.
You can’t perform that action at this time.
0 commit comments