Skip to content

Commit 1213aa0

Browse files
committed
tune
1 parent d239d5e commit 1213aa0

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/driver-function.yml

+9-10
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,11 @@ jobs:
5656
uses: ruby/setup-ruby@v1
5757
with:
5858
ruby-version: 3.2
59-
- name: Install deps and run tests
60-
run: |
61-
bundle install
62-
bundle exec ruby example_sample2_ios.rb
59+
- name: Install dependencies
60+
run: bundle install
61+
working-directory: example/ruby
62+
- name: Run tests
63+
run: ruby example_sample2_ios.rb
6364
working-directory: example/ruby
6465

6566
- name: Save server output
@@ -127,18 +128,16 @@ jobs:
127128
uses: ruby/setup-ruby@v1
128129
with:
129130
ruby-version: 3.2
130-
131-
# Run tests
131+
- name: Install dependencies
132+
run: bundle install
133+
working-directory: example/ruby
132134

133135
- name: Install dependencies and run tests
134136
uses: reactivecircus/android-emulator-runner@v2
135137
with:
136138
api-level: ${{ env.API_LEVEL }}
137139
arch: ${{ env.ARCH }}
138-
script: |
139-
cd example/ruby
140-
bundle install
141-
bundle exec ruby example_sample2.rb
140+
script: ruby example_sample2.rb
142141
target: google_apis
143142
profile: Nexus 5X
144143
disable-spellchecker: true

0 commit comments

Comments
 (0)