Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo reg suit #11

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .github/workflows/reg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -41,9 +48,12 @@ jobs:
- name: create the current snapshot
run: |
./gradlew recordRoborazziDebug --stacktrace
- name: run reg
- name: Run reg-suit1
run: |
npx reg-suit run --test
- name: Run reg-suit2
run: |
yarn run reg-suit run --test
npx reg-suit sync-expected && npx reg-suit compare && npx reg-suit publish -n

# GitHub Page公開元ブランチへレポートをpush
- name: deploy report to github page
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/t/saito/vrtsampleapp/SongScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
Expand Down
4 changes: 3 additions & 1 deletion regconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
Loading