Skip to content

Commit

Permalink
Turn on coverage (#12)
Browse files Browse the repository at this point in the history
* Turn on coverage
  • Loading branch information
big-andy-coates committed Nov 3, 2022
1 parent 55825d3 commit d990887
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Build
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: ./gradlew check # todo: coveralls
run: ./gradlew check coveralls
- name: Publish
if: github.event_name == 'push' || github.event.inputs.publish_artifacts == 'true'
env:
Expand Down
2 changes: 1 addition & 1 deletion other/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** Another example module */
module creek.release.test.example {
exports org.creekservice.api.example;
exports org.creekservice.api.example2;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package org.creekservice.api.example;
package org.creekservice.api.example2;

/** Example type */
public interface Example {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

package org.creekservice.internal.example;
package org.creekservice.internal.example2;


import org.creekservice.api.example.Example;
import org.creekservice.api.example2.Example;

/** Example impl */
public final class ExampleImpl implements Example {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;

import org.creekservice.api.example.Example;
import org.creekservice.api.example2.Example;
import org.creekservice.internal.example2.ExampleImpl;
import org.junit.jupiter.api.Test;

class ExampleImplTest {
Expand Down

0 comments on commit d990887

Please sign in to comment.