File tree 3 files changed +8
-0
lines changed 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 37
37
38
38
- name : Test
39
39
run : make test
40
+
41
+ - name : Upload to Codecov
42
+ uses : codecov/codecov-action@v4
43
+ with :
44
+ files : coverage.txt
45
+ token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ test: testdeps
14
14
go test ./... -short -race && \
15
15
go test ./... -run=NONE -bench=. -benchmem && \
16
16
env GOOS=linux GOARCH=386 go test && \
17
+ go test -coverprofile=coverage.txt -covermode=atomic ./... && \
17
18
go vet); \
18
19
done
19
20
cd internal/customvet && go build .
Original file line number Diff line number Diff line change 3
3
[ ![ build workflow] ( https://github.com/redis/go-redis/actions/workflows/build.yml/badge.svg )] ( https://github.com/redis/go-redis/actions )
4
4
[ ![ PkgGoDev] ( https://pkg.go.dev/badge/github.com/redis/go-redis/v9 )] ( https://pkg.go.dev/github.com/redis/go-redis/v9?tab=doc )
5
5
[ ![ Documentation] ( https://img.shields.io/badge/redis-documentation-informational )] ( https://redis.uptrace.dev/ )
6
+ [ ![ codecov] ( https://codecov.io/github/redis/go-redis/graph/badge.svg?token=tsrCZKuSSw )] ( https://codecov.io/github/redis/go-redis )
6
7
[ ![ Chat] ( https://discordapp.com/api/guilds/752070105847955518/widget.png )] ( https://discord.gg/rWtp5Aj )
7
8
8
9
> go-redis is brought to you by :star : [ ** uptrace/uptrace** ] ( https://github.com/uptrace/uptrace ) .
You can’t perform that action at this time.
0 commit comments