Skip to content

Commit 448b7d1

Browse files
committed
Fix rubocop on Windows #315
1 parent 8ac8090 commit 448b7d1

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.github/workflows/windows.yaml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,34 @@ name: windows
44
on: [push, pull_request]
55

66
jobs:
7-
"rubocop_and_rspec":
7+
"rubocop":
88
runs-on: windows-latest
99
steps:
1010
- uses: actions/checkout@v2
1111
- uses: ruby/setup-ruby@v1
1212
with:
1313
ruby-version: 2.6
14-
- name: Check style and functionality
14+
- name: Check style
1515
run: |
1616
g++ -v
1717
bundle install
1818
bundle exec rubocop --version
19-
bundle exec rubocop -D .
20-
echo "done with Rubocop (See https://github.com/Arduino-CI/arduino_ci/issues/315)"
19+
bundle exec rubocop -D . --except Layout/EndOfLine
20+
21+
"rspec":
22+
runs-on: windows-latest
23+
steps:
24+
- uses: actions/checkout@v2
25+
- uses: ruby/setup-ruby@v1
26+
with:
27+
ruby-version: 2.6
28+
- name: Check functionality
29+
run: |
30+
g++ -v
31+
bundle install
2132
bundle exec rspec --backtrace
2233
23-
"TestSomething":
34+
TestSomething:
2435
runs-on: windows-latest
2536
steps:
2637
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)