Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsenoid committed Jun 20, 2024
1 parent 80b99f2 commit 1f7e24b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: ./gradlew build

- name: Generate Code-Coverage report
run: ./gradlew jacoco
run: ./gradlew createDebugUnitTestCoverageReport

- name: Push Code-Coverage Report to codecov.io
env:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This repository contains Rick and Morty Android application which I am using as training material.

![Screenshot](SCREENSHOT1.png) ![Screenshot](SCREENSHOT2.png)
<img src="SCREENSHOT1.png" alt="Screenshot" style="width:200px;" /> <img src="SCREENSHOT2.png" alt="Screenshot" style="width:200px;" /> <img src="SCREENSHOT3.png" alt="Screenshot" style="width:200px;" />

## User Stories

Expand Down Expand Up @@ -76,7 +76,7 @@ Code is covered by unit tests implemented using **Mockito** and **Kluent**. Also

## License

Copyright 2020 Mohsen Mirhoseini Argi
Copyright 2020 Mohsen Mirhoseini

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Expand Down
5 changes: 5 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ android {
}

buildTypes {
debug {
isMinifyEnabled = false
enableUnitTestCoverage = true
}

release {
isMinifyEnabled = false
proguardFiles(
Expand Down

0 comments on commit 1f7e24b

Please sign in to comment.