Skip to content

Commit

Permalink
fix(test): ci coverage command + minor bad test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
Zapharaos committed Feb 10, 2025
1 parent 7443941 commit 08af449
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: go build -v ./...

- name: Test with coverage
run: go test -race -suffle=on -v -coverprofile=coverage.out ./...
run: go test ./... -race -shuffle=on -coverprofile coverage.out

- name: Upload results to Codecov
uses: codecov/codecov-action@v5
Expand Down
3 changes: 0 additions & 3 deletions internal/auth/auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@ func TestGetToken(t *testing.T) {
assert.Fail(t, "failed to decode response")
}
err = json.Unmarshal(data, &token)
if err != nil {
assert.Fail(t, "failed to decode response")
}

// Check the response
assert.Equal(t, tt.status, response.StatusCode)
Expand Down

0 comments on commit 08af449

Please sign in to comment.