mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-13 17:51:57 +00:00
disable detekt
This commit is contained in:
parent
fd69cf9d04
commit
c112c4d416
2 changed files with 22 additions and 22 deletions
42
.github/workflows/android.yml
vendored
42
.github/workflows/android.yml
vendored
|
|
@ -86,24 +86,24 @@ jobs:
|
||||||
with:
|
with:
|
||||||
arguments: ktlintCheck
|
arguments: ktlintCheck
|
||||||
|
|
||||||
detekt:
|
# detekt:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v3
|
# - uses: actions/checkout@v3
|
||||||
- name: set up JDK 17
|
# - name: set up JDK 17
|
||||||
uses: actions/setup-java@v3
|
# uses: actions/setup-java@v3
|
||||||
with:
|
# with:
|
||||||
java-version: '17'
|
# java-version: '17'
|
||||||
distribution: 'adopt'
|
# distribution: 'adopt'
|
||||||
cache: gradle
|
# cache: gradle
|
||||||
- name: Prepare
|
# - name: Prepare
|
||||||
run: ./.github/prepare-workflow
|
# run: ./.github/prepare-workflow
|
||||||
- name: Run with Gradle
|
# - name: Run with Gradle
|
||||||
uses: gradle/gradle-build-action@v2
|
# uses: gradle/gradle-build-action@v2
|
||||||
with:
|
# with:
|
||||||
arguments: detekt
|
# arguments: detekt
|
||||||
- name: Upload SARIF to Github using the upload-sarif action
|
# - name: Upload SARIF to Github using the upload-sarif action
|
||||||
uses: github/codeql-action/upload-sarif@v2
|
# uses: github/codeql-action/upload-sarif@v2
|
||||||
if: ${{ always() }}
|
# if: ${{ always() }}
|
||||||
with:
|
# with:
|
||||||
sarif_file: build/reports/detekt.sarif
|
# sarif_file: build/reports/detekt.sarif
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ class NumberAbbreviatorTest : StringSpec({
|
||||||
Triple(40.2412, "40", 0),
|
Triple(40.2412, "40", 0),
|
||||||
Triple(0.5, "0.5", 0),
|
Triple(0.5, "0.5", 0),
|
||||||
Triple(0.328, "0.32", 0),
|
Triple(0.328, "0.32", 0),
|
||||||
Triple(-0.99, "-0.99", 0),
|
Triple(-0.99, "-0.99", 0)
|
||||||
) { (input, output, decimals) ->
|
) { (input, output, decimals) ->
|
||||||
NumberAbbreviator.abbreviate(mockContext, input, decimals) shouldBe output
|
NumberAbbreviator.abbreviate(mockContext, input, decimals) shouldBe output
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue