Skip to content

Commit

Permalink
Update dependency org.robolectric:robolectric to v4.12 (#423)
Browse files Browse the repository at this point in the history
* Update dependency org.robolectric:robolectric to v4.12

* Bump min Robolectric min sdk to 19

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Giorgio Antonioli <[email protected]>
  • Loading branch information
renovate[bot] and fondesa authored Mar 30, 2024
1 parent fb40cff commit 2cefa9a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Run tests on API 16, 19, 21
run: ./ci/run-tests.sh -Probolectric.enabledSdks=16,19,21
- name: Run tests on API 19, 21, 23
run: ./ci/run-tests.sh -Probolectric.enabledSdks=19,21,23
test2:
name: test 2/3
runs-on: ubuntu-latest
Expand All @@ -35,8 +35,8 @@ jobs:
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Run tests on API 23, 24, 26, 28
run: ./ci/run-tests.sh -Probolectric.enabledSdks=23,24,26,28
- name: Run tests on API 24, 26, 28
run: ./ci/run-tests.sh -Probolectric.enabledSdks=24,26,28
test3:
name: test 3/3
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion ci/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
scriptDir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
projectDir=${scriptDir}/..

ROBOLECTRIC_MIN_API=16
ROBOLECTRIC_MIN_API=19
ROBOLECTRIC_MAX_API=33

robolectricConfigFile=$projectDir/kpermissions/src/test/resources/robolectric.properties
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ kotlin-reflect = "org.jetbrains.kotlin:kotlin-reflect:1.9.23"
kpermissions-buildTools = { module = "com.fondesa.kpermissions.buildtools:build-tools" }
ktlint-gp = "org.jlleitschuh.gradle:ktlint-gradle:11.6.1"
leakCanary = "com.squareup.leakcanary:leakcanary-android:2.13"
robolectric = "org.robolectric:robolectric:4.11.1"
robolectric = "org.robolectric:robolectric:4.12"
rxJava2 = "io.reactivex.rxjava2:rxjava:2.2.21"
rxJava3 = "io.reactivex.rxjava3:rxjava:3.0.13"

0 comments on commit 2cefa9a

Please sign in to comment.