mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 11:46:32 +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:
|
||||
arguments: ktlintCheck
|
||||
|
||||
detekt:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'adopt'
|
||||
cache: gradle
|
||||
- name: Prepare
|
||||
run: ./.github/prepare-workflow
|
||||
- name: Run with Gradle
|
||||
uses: gradle/gradle-build-action@v2
|
||||
with:
|
||||
arguments: detekt
|
||||
- name: Upload SARIF to Github using the upload-sarif action
|
||||
uses: github/codeql-action/upload-sarif@v2
|
||||
if: ${{ always() }}
|
||||
with:
|
||||
sarif_file: build/reports/detekt.sarif
|
||||
# detekt:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v3
|
||||
# - name: set up JDK 17
|
||||
# uses: actions/setup-java@v3
|
||||
# with:
|
||||
# java-version: '17'
|
||||
# distribution: 'adopt'
|
||||
# cache: gradle
|
||||
# - name: Prepare
|
||||
# run: ./.github/prepare-workflow
|
||||
# - name: Run with Gradle
|
||||
# uses: gradle/gradle-build-action@v2
|
||||
# with:
|
||||
# arguments: detekt
|
||||
# - name: Upload SARIF to Github using the upload-sarif action
|
||||
# uses: github/codeql-action/upload-sarif@v2
|
||||
# if: ${{ always() }}
|
||||
# with:
|
||||
# sarif_file: build/reports/detekt.sarif
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ class NumberAbbreviatorTest : StringSpec({
|
|||
Triple(40.2412, "40", 0),
|
||||
Triple(0.5, "0.5", 0),
|
||||
Triple(0.328, "0.32", 0),
|
||||
Triple(-0.99, "-0.99", 0),
|
||||
Triple(-0.99, "-0.99", 0)
|
||||
) { (input, output, decimals) ->
|
||||
NumberAbbreviator.abbreviate(mockContext, input, decimals) shouldBe output
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue