Skip to content

Commit 35eee73

Browse files
authored
Update arduino_test_runner.yml
1 parent 9bc03ba commit 35eee73

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.github/workflows/arduino_test_runner.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,24 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13+
1314
- uses: ruby/setup-ruby@v1
1415
with:
1516
ruby-version: '3.1' # Or your preferred version
1617

17-
- name: Install arduino_ci gem
18+
- name: Install Bundler
19+
run: gem install bundler
20+
21+
- name: Create Gemfile
1822
run: |
19-
gem install arduino_ci
20-
echo "PATH=$(ruby -e 'print Gem.bindir'):\$PATH" >> $GITHUB_ENV
21-
23+
echo "source 'https://rubygems.org'" > Gemfile
24+
echo "gem 'arduino_ci'" >> Gemfile
25+
26+
- name: Install dependencies
27+
run: bundle install
28+
2229
- name: Verify arduino_ci installation
23-
run: arduino_ci --version
24-
30+
run: bundle exec arduino_ci --version
31+
2532
- name: Run Arduino CI tests
26-
run: arduino_ci
33+
run: bundle exec arduino_ci

0 commit comments

Comments
 (0)