Skip to content

Commit

Permalink
adds deprecation notice for views implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
kul3r4 committed Mar 25, 2024
1 parent 24ddd0b commit 6a76f2b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/AlwaysOnKotlin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,16 @@ jobs:
arguments: roundApi${{ matrix.device }}Check
build-root-directory: ${{ env.SAMPLE_PATH }}

- name: Upload views test reports
- name: Upload views test reports ${{ matrix.device }}
uses: actions/upload-artifact@v4
with:
name: views-test-reports
name: views-test-reports ${{ matrix.device }}
path: ${{ env.SAMPLE_PATH }}/views/build/reports

- name: Upload compose test reports
${{ matrix.device }}
- name: Upload compose test reports ${{ matrix.device }}
uses: actions/upload-artifact@v4
with:
name: test-reports
name: test-reports ${{ matrix.device }}
path: ${{ env.SAMPLE_PATH }}/compose/build/reports

apk:
Expand Down
5 changes: 4 additions & 1 deletion AlwaysOnKotlin/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

> ### **Warning!**
>
> **The implementation of this sample with views is unmaintained and will not be updated.**
>
Android AlwaysOn Kotlin Sample
=======================

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ import kotlinx.coroutines.test.TestScope
import kotlinx.coroutines.test.runTest
import org.junit.After
import org.junit.Before
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith

@Ignore("Tests failing on 30")
@RunWith(AndroidJUnit4::class)
@OptIn(ExperimentalCoroutinesApi::class)
class AlwaysOnAppTests {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@file:Suppress("This test is disabled as failing on 30")

package com.example.android.wearable.wear.alwayson

import android.app.Application
Expand Down Expand Up @@ -42,9 +44,11 @@ import kotlinx.coroutines.test.TestScope
import kotlinx.coroutines.test.runTest
import org.junit.After
import org.junit.Before
import org.junit.Ignore
import org.junit.Test
import org.junit.runner.RunWith

@Ignore("Tests failing on 30")
@RunWith(AndroidJUnit4::class)
@OptIn(ExperimentalCoroutinesApi::class)
class MainActivityTests {
Expand Down

0 comments on commit 6a76f2b

Please sign in to comment.