Skip to content

Commit 62d29f5

Browse files
committed
Fix workflow action
1 parent 6bad2f0 commit 62d29f5

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

.github/workflows/macos.yaml

+21-8
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,42 @@ name: macos
55
on: [push, pull_request]
66

77
jobs:
8-
rubocop:
8+
rspec:
99
runs-on: macos-latest
1010
steps:
1111
- uses: actions/checkout@v2
1212
- uses: ruby/setup-ruby@v1
13-
with:
13+
with:
1414
ruby-version: 2.6
1515

1616
# Install and run Arduino CI tests for rubocop
1717
- name: Build and Execute
1818
run: |
1919
g++ -v
20+
bundle install
21+
bundle exec rspec --backtrace
22+
23+
rubocop:
24+
runs-on: macos-latest
25+
steps:
26+
- uses: actions/checkout@v2
27+
- uses: ruby/setup-ruby@v1
28+
with:
29+
ruby-version: 2.6
30+
31+
# Install and run Arduino CI tests for rubocop
32+
- name: Build and Execute
33+
run: |
2034
bundle install
2135
bundle exec rubocop --version
2236
bundle exec rubocop -D .
23-
bundle exec rspec --backtrace
2437
25-
TestSomething:
38+
TestSomething:
2639
runs-on: macos-latest
2740
steps:
2841
- uses: actions/checkout@v2
2942
- uses: ruby/setup-ruby@v1
30-
with:
43+
with:
3144
ruby-version: 2.6
3245

3346
# Install and run Arduino CI tests for TestSomething
@@ -39,12 +52,12 @@ jobs:
3952
bundle install
4053
bundle exec arduino_ci.rb
4154
42-
NetworkLib:
55+
NetworkLib:
4356
runs-on: macos-latest
4457
steps:
4558
- uses: actions/checkout@v2
4659
- uses: ruby/setup-ruby@v1
47-
with:
60+
with:
4861
ruby-version: 2.6
4962

5063
# Install and run Arduino CI tests for NetworkLib
@@ -53,6 +66,6 @@ jobs:
5366
g++ -v
5467
bundle install
5568
cd SampleProjects/NetworkLib
56-
./scripts/install.sh
69+
sh ./scripts/install.sh
5770
bundle install
5871
bundle exec arduino_ci.rb

0 commit comments

Comments
 (0)