Skip to content

Conversation

@RotBolt
Copy link
Owner

@RotBolt RotBolt commented Jun 27, 2023

PR to review the tutorials easily

renovate bot and others added 30 commits June 27, 2023 02:42
…tion.json

Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.5.1
Update dependency io.mockk:mockk to v1.13.5
Update dependency org.jetbrains.kotlinx:atomicfu to v0.21.0
These shard tasks collectively depend upon all Android `connectedCheck` tasks in the entire project.

Each shard depends upon the `connectedCheck` tasks of some subset of Android projects.
Projects are assigned to a shard by counting the number of `@Test` annotations within their
`androidTest` directory, then associating those projects to a shard in a round-robin fashion.

These shards are invoked in CI using a GitHub Actions matrix. If the number of shards changes,
the `connectedCheckShardMatrixYamlUpdate` task can automatically update the workflow file so
that they're all invoked.

The shard tasks are invoked as:

```shell
# roughly 1/3 of the tests
./gradlew connectedCheckShard1
# the second third
./gradlew connectedCheckShard2
# the last third
./gradlew connectedCheckShard3
```

The task filtering we currently use in CI (`./gradlew fooShard1 -x :my-project:foo`) will still work here, however the "cost" of the excluded task's tests is still accounted for when the sharding is performed.
use delegating shard tasks for `connectedCheck`
Update dependency org.mockito:mockito-core to v3.12.4
Update dependency com.google.truth:truth to v1.1.5
…th.ext

Update dependency androidx.test.ext:truth to v1.5.0
Update dependency androidx.savedstate:savedstate to v1.2.1
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Update dependency app.cash.turbine:turbine to v1
RBusarow and others added 22 commits June 28, 2023 10:38
Update dependency org.jetbrains:annotations to v24
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Update dependency com.jakewharton.timber:timber to v5
Update dependency com.android.tools.build:gradle to v7.4.2
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Update dependency com.squareup.okio:okio to v3.3.0
@RotBolt RotBolt force-pushed the personal-tutuorial-branch branch from fe2ac61 to 04372af Compare July 4, 2023 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants