Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

test coverage #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build:

runs-on: ubuntu-latest
environment: production
environment: dev

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/codacy/utils/Math.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ public int magicAdd(int x, int y) {
System.out.println("Am I am covered?");
System.out.println("Am I am covered?");
System.out.println("Am I am covered?");
System.out.println("Not covered");
return y - x;
} else {
System.out.println("I am covered!");
System.out.println("I am covered!");
System.out.println("Covered");
return x + y;
}
}
Expand Down