Skip to content

Commit e1cbee7

Browse files
committed
test(ci): deterministic jq
Making jq verbose so we see what failed + using updated version for sharness.
1 parent 6d295eb commit e1cbee7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.circleci/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ default_environment: &default_environment
3030
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
3131
GIT_PAGER: cat
3232

33+
orbs:
34+
jq: circleci/jq@2.2.0
35+
3336
executors:
3437
golang:
3538
docker:
@@ -131,6 +134,8 @@ jobs:
131134
steps:
132135
- run: sudo apt update
133136
- run: sudo apt install socat net-tools
137+
- jq/install:
138+
override: true
134139
- checkout
135140

136141
- run:

test/sharness/t0021-config.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ test_config_cmd() {
131131
test_expect_success "'ipfs config show' after Foo[\"bar.buzz\"] returns a valid JSON" '
132132
ipfs config show | jq -e > /dev/null 2>&1
133133
'
134+
# TODO: ipfs config show | jq -e > /dev/null 2>&1
134135
test_expect_success "'ipfs config' after Foo[\"bar.buzz\"] shows updated value" '
135136
ipfs config Gateway.PublicGateways[\"some.example.com\"].UseSubdomains > bool_out &&
136137
grep true bool_out

0 commit comments

Comments
 (0)