Skip to content

Commit 4e6468e

Browse files
committed
circleci: remove gojay test for now
1 parent 273f5ad commit 4e6468e

File tree

2 files changed

+11
-35
lines changed

2 files changed

+11
-35
lines changed

.circleci/config.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: golang/linux
1111
version: "1.15-buster"
1212
working_directory: /go/src/go.lsp.dev/jsonrpc2
13-
parallelism: 2
13+
resource_class: large
1414
steps:
1515
- checkout
1616
- golang/gomod
@@ -24,12 +24,11 @@ jobs:
2424
command: |
2525
make tools
2626
mkdir -p /tmp/test-results
27-
make $(circleci tests split .circleci/coverage-targets)
27+
make test
2828
environment:
2929
GOTESTSUM_JSONFILE: "/tmp/test-results/unit-test.xml"
3030
- codecov/upload:
3131
file: "coverage.out"
32-
flags: $(if [ $CIRCLE_NODE_INDEX == 0 ]; then echo "json"; else echo "gojay"; fi)
3332
- store_test_results:
3433
path: /tmp/test-results
3534

@@ -38,7 +37,7 @@ jobs:
3837
name: golang/linux
3938
version: "1.15-buster"
4039
working_directory: /go/src/go.lsp.dev/jsonrpc2
41-
parallelism: 2
40+
resource_class: large
4241
steps:
4342
- checkout
4443
- golang/gomod
@@ -47,10 +46,15 @@ jobs:
4746
command: |
4847
go version
4948
go env
49+
- run:
50+
name: Run fmt for sources
51+
command: |
52+
make fmt
53+
git add -N . && git diff --exit-code
5054
- run:
5155
name: Run lint for sources
5256
command: |
53-
make lint GO_LINT_FLAGS=$(circleci tests split .circleci/lint-buildtags)
57+
make lint
5458
5559
workflows:
5660
version: 2

.codecov.yml

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -5,45 +5,17 @@ coverage:
55

66
status:
77
project:
8-
default: off
9-
json:
10-
flags: json
11-
target: auto
12-
threshold: 10%
13-
if_not_found: success
14-
if_ci_failed: error
15-
gojay:
16-
flags: gojay
8+
default:
179
target: auto
1810
threshold: 10%
1911
if_not_found: success
2012
if_ci_failed: error
2113
patch:
22-
default: off
23-
json:
24-
flags: json
25-
only_pulls: true
26-
target: 50%
27-
threshold: 10%
28-
gojay:
29-
flags: gojay
14+
default:
3015
only_pulls: true
3116
target: 50%
3217
threshold: 10%
3318
changes: false
34-
ignore:
35-
- "vendor"
36-
37-
flags:
38-
json:
39-
paths:
40-
- /
41-
carryforward: true
42-
gojay:
43-
paths:
44-
- /
45-
carryforward: true
4619

4720
comment:
4821
behavior: default
49-
require_changes: true

0 commit comments

Comments
 (0)