Skip to content

Commit

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

* Bump min Robolectric 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 1280090 commit 1370fbc
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, 17, 19, 21
run: ./ci/run-tests.sh -Probolectric.enabledSdks=16,17,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/recycler-view-divider/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 @@ -30,4 +30,4 @@ ktlint-gp = "org.jlleitschuh.gradle:ktlint-gradle:11.6.1"
mockito-core = "org.mockito:mockito-core:4.11.0"
mockito-kotlin = "org.mockito.kotlin:mockito-kotlin:4.1.0"
recyclerViewDivider-buildTools = { module = "com.fondesa.recyclerviewdivider.buildtools:build-tools" }
robolectric = "org.robolectric:robolectric:4.11.1"
robolectric = "org.robolectric:robolectric:4.12"

0 comments on commit 1370fbc

Please sign in to comment.