Skip to content

Commit e49d071

Browse files
committed
install krb5 libraries
1 parent df39b91 commit e49d071

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/go.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ jobs:
4646
with:
4747
go-version-file: ${{ github.workspace }}/go.mod
4848

49-
#- name: Install krb5 libraries
50-
# run: sudo apt-get install -y libkrb5-dev
49+
- name: Install jq tool
50+
run: |
51+
sudo apt-get update
52+
sudo apt-get install libkrb5-dev
5153
5254
- name: Run tests with code coverage
5355
run: |

exporter/exporter_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ package exporter
1818
import (
1919
"context"
2020
"fmt"
21-
"github.com/stretchr/testify/require"
2221
"io"
2322
"net"
2423
"net/http"
@@ -32,6 +31,7 @@ import (
3231
"github.com/prometheus/client_golang/prometheus/testutil"
3332
"github.com/sirupsen/logrus"
3433
"github.com/stretchr/testify/assert"
34+
"github.com/stretchr/testify/require"
3535

3636
"github.com/percona/mongodb_exporter/internal/tu"
3737
)

0 commit comments

Comments
 (0)