Skip to content

Commit 055dbfa

Browse files
authored
Delete unused items related to codecov (#630)
We haven't used this in a long time. It's clearly unnecessary for the auto-generated code, so let's remove it.
1 parent 4c108c6 commit 055dbfa

File tree

5 files changed

+7
-19
lines changed

5 files changed

+7
-19
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
- name: Generate code
4040
run: python generate-code.py
4141

42-
- name: run codecov.sh
43-
run: bash script/codecov.sh
42+
- name: run test.sh
43+
run: bash script/test.sh
4444

4545
- name: go vet
4646
run: go vet $(go list ./... | grep -v /examples/)
@@ -54,9 +54,6 @@ jobs:
5454
popd
5555
done
5656
57-
- name: Publish to codecov.io
58-
run: bash <(curl -s https://codecov.io/bash)
59-
6057
pinact:
6158
runs-on: ubuntu-latest
6259
permissions:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ When you update code, be sure to check consistencies between generated code and
3333

3434
### Add unit tests
3535

36-
We use Go's built-in testing framework. To run all tests with race detection and coverage reporting: `bash script/codecov.sh`
36+
We use Go's built-in testing framework. To run all tests with race detection `bash script/test.sh`
3737

3838
Especially for bug fixes, please follow this flow for testing and development:
3939
1. Write a test before making changes to the library and confirm that the test fails.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# LINE Messaging API SDK for Go
22

33
[![Build Status](https://github.com/line/line-bot-sdk-go/actions/workflows/go.yml/badge.svg?branch=master)](https://github.com/line/line-bot-sdk-go/actions)
4-
[![codecov](https://codecov.io/gh/line/line-bot-sdk-go/branch/master/graph/badge.svg)](https://codecov.io/gh/line/line-bot-sdk-go)
54
[![Go Reference](https://pkg.go.dev/badge/github.com/line/line-bot-sdk-go/v8/linebot.svg)](https://pkg.go.dev/github.com/line/line-bot-sdk-go/v8/linebot)
65
[![Go Report Card](https://goreportcard.com/badge/github.com/line/line-bot-sdk-go)](https://goreportcard.com/report/github.com/line/line-bot-sdk-go)
76

script/codecov.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

script/test.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
cd "$(dirname "$0")/.."
4+
go test -v -race ./...

0 commit comments

Comments
 (0)