From b387cfc7ff969b869774d9509ce9665de6d3cec4 Mon Sep 17 00:00:00 2001 From: takumi-saito Date: Thu, 8 Feb 2024 21:01:31 +0900 Subject: [PATCH 1/5] add demo code --- app/src/main/java/com/t/saito/vrtsampleapp/SongScreen.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/t/saito/vrtsampleapp/SongScreen.kt b/app/src/main/java/com/t/saito/vrtsampleapp/SongScreen.kt index a408fbb6..84dd9387 100644 --- a/app/src/main/java/com/t/saito/vrtsampleapp/SongScreen.kt +++ b/app/src/main/java/com/t/saito/vrtsampleapp/SongScreen.kt @@ -27,8 +27,8 @@ data class Song( companion object { fun sample(num: Int) = Song( imageUrl = "https://picsum.photos/id/$num/200/300", - title = "Dynamite", - artist = "BTS" + title = "DynamiteDynamiteDynamite", + artist = "BTSBTSBTS" ) val samples = (1..10).map { sample(it) } From 25446f4a3833082858a023b693925b25e96e0cc0 Mon Sep 17 00:00:00 2001 From: takumi-saito Date: Thu, 8 Feb 2024 21:28:27 +0900 Subject: [PATCH 2/5] fix --- .github/workflows/reg.yml | 4 ++-- regconfig.json | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/reg.yml b/.github/workflows/reg.yml index f338f575..7f315e58 100644 --- a/.github/workflows/reg.yml +++ b/.github/workflows/reg.yml @@ -41,9 +41,9 @@ jobs: - name: create the current snapshot run: | ./gradlew recordRoborazziDebug --stacktrace - - name: run reg + - name: Run reg-suit run: | - yarn run reg-suit run --test + yarn run reg-suit sync-expected && yarn run reg-suit compare && yarn run reg-suit publish -n # GitHub Page公開元ブランチへレポートをpush - name: deploy report to github page diff --git a/regconfig.json b/regconfig.json index a9eb2053..97f922e4 100644 --- a/regconfig.json +++ b/regconfig.json @@ -11,9 +11,11 @@ "plugins": { "reg-keygen-git-hash-plugin": true, "reg-notify-github-plugin": { + "clientId": "Mzc2MTAxsTS20A8rKglOzC3ISXUsKNA3MTM1NDA1MNAvScwuzc3ULU7MLMkHAA==", "prComment": true, "prCommentBehavior": "default", - "clientId": "Mzc2MTAxsTS20A8rKglOzC3ISXUsKNA3MTM1NDA1MNAvScwuzc3ULU7MLMkHAA==" + "setCommitStatus": false, + "shortDescription": true, } } } \ No newline at end of file From eacfd6b8187fbda5b176fc4a68f8877e6798a1e3 Mon Sep 17 00:00:00 2001 From: takumi-saito Date: Thu, 8 Feb 2024 21:33:00 +0900 Subject: [PATCH 3/5] fix --- regconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regconfig.json b/regconfig.json index 97f922e4..5a464961 100644 --- a/regconfig.json +++ b/regconfig.json @@ -15,7 +15,7 @@ "prComment": true, "prCommentBehavior": "default", "setCommitStatus": false, - "shortDescription": true, + "shortDescription": true } } } \ No newline at end of file From c61521335a3f4d30a57d72f941c6fb5d3cc59004 Mon Sep 17 00:00:00 2001 From: takumi-saito Date: Thu, 8 Feb 2024 21:45:41 +0900 Subject: [PATCH 4/5] fix --- .github/workflows/reg.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reg.yml b/.github/workflows/reg.yml index 7f315e58..4a799de1 100644 --- a/.github/workflows/reg.yml +++ b/.github/workflows/reg.yml @@ -41,9 +41,12 @@ jobs: - name: create the current snapshot run: | ./gradlew recordRoborazziDebug --stacktrace - - name: Run reg-suit + - name: Run reg-suit1 run: | - yarn run reg-suit sync-expected && yarn run reg-suit compare && yarn run reg-suit publish -n + reg-suit run --test + - name: Run reg-suit2 + run: | + reg-suit sync-expected && reg-suit compare && reg-suit publish -n # GitHub Page公開元ブランチへレポートをpush - name: deploy report to github page From bf3a1fdb6638e01b1f507d6dfa4f01d1fd435fca Mon Sep 17 00:00:00 2001 From: takumi-saito Date: Thu, 8 Feb 2024 21:54:07 +0900 Subject: [PATCH 5/5] fix --- .github/workflows/reg.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reg.yml b/.github/workflows/reg.yml index 4a799de1..b30fcfa9 100644 --- a/.github/workflows/reg.yml +++ b/.github/workflows/reg.yml @@ -20,6 +20,13 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + - name: Use Node.js v12 + uses: actions/setup-node@v1 + with: + node-version: "12.x" + - name: npm install, build, and test + run: | + npm i - name: Set up JDK 17 uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0 with: @@ -43,10 +50,10 @@ jobs: ./gradlew recordRoborazziDebug --stacktrace - name: Run reg-suit1 run: | - reg-suit run --test + npx reg-suit run --test - name: Run reg-suit2 run: | - reg-suit sync-expected && reg-suit compare && reg-suit publish -n + npx reg-suit sync-expected && npx reg-suit compare && npx reg-suit publish -n # GitHub Page公開元ブランチへレポートをpush - name: deploy report to github page