Skip to content

Commit c728b81

Browse files
committed
Remove coveralls
1 parent 4958078 commit c728b81

4 files changed

Lines changed: 6 additions & 15 deletions

File tree

.codecov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ignore:
2+
- "cache_.*"

.github/workflows/test.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,11 @@ jobs:
2727
- name: Checkout code
2828
uses: actions/checkout@v2
2929
- name: Run unit tests with coverage
30-
run: go test -v -race -coverprofile=coverage.out
31-
- name: Convert coverage to lcov
32-
uses: jandelgado/gcov2lcov-action@v1.0.2
33-
with:
34-
infile: coverage.out
35-
outfile: coverage.lcov
36-
- name: Coveralls
37-
uses: coverallsapp/github-action@v1.1.1
38-
with:
39-
github-token: ${{ secrets.GITHUB_TOKEN }}
40-
path-to-lcov: coverage.lcov
30+
run: go test -v -race -coverprofile=coverage.txt
4131
- name: Codecov
4232
uses: codecov/codecov-action@v1
4333
with:
4434
token: ${{ secrets.CODECOV_TOKEN }}
45-
file: coverage.lcov
35+
file: coverage.txt
4636
flags: unittests
47-
fail_ci_if_error: true
37+
fail_ci_if_error: false

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ example/example
2323
.DS_Store
2424

2525
# test coverage output
26-
coverage.out
26+
coverage.txt

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
[![Go Report Card](https://goreportcard.com/badge/github.com/prashanthpai/sqlcache?clear_cache=1)](https://goreportcard.com/report/github.com/prashanthpai/sqlcache)
55
[![Test status](https://github.com/prashanthpai/sqlcache/workflows/test/badge.svg?branch=master "test status")](https://github.com/prashanthpai/sqlcache/actions)
66
[![codecov](https://codecov.io/gh/prashanthpai/sqlcache/branch/master/graph/badge.svg)](https://codecov.io/gh/prashanthpai/sqlcache)
7-
[![coveralls](https://coveralls.io/repos/github/prashanthpai/sqlcache/badge.svg?branch=master)](https://coveralls.io/github/prashanthpai/sqlcache?branch=master)
87
[![MIT license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)
98

109
sqlcache is an **experimental** caching middleware for `database/sql`. It

0 commit comments

Comments
 (0)