Skip to content

Commit

Permalink
Testing codecov integration
Browse files Browse the repository at this point in the history
This commit introduces non-covered code.
Should clearly trigger codecov message.
  • Loading branch information
dkrotx committed Nov 26, 2024
1 parent f6343ca commit 7594e09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Install dependencies, run tests, and collect coverage
run: docker compose -f docker/buildkite/docker-compose.yaml run unit-test-test-service
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
slug: cadence-workflow/cadence-java-client
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,7 @@ private static String prettyPrintJson(String jsonValue, String stackIndentation)
Gson gson = new GsonBuilder().setPrettyPrinting().create();
return gson.toJson(json);
} catch (Exception e) {
System.err.println("Error parsing JSON: " + jsonValue);
return jsonValue;
}
}
Expand Down

0 comments on commit 7594e09

Please sign in to comment.