Skip to content

Commit

Permalink
(maint) - add rubocop back to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbreen28 committed Dec 13, 2023
1 parent 6420952 commit 536b850
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 4 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,14 @@ jobs:
run: |
bundle config set without development
bundle install --jobs 4 --retry 3
- run: bundle exec rake
- name: Rubocop
run: |
bundle exec rake rubocop
- name: Run tests
run: |
bundle exec rake spec
# Starting with version 3.2, Ruby no longer bundles libffi, which is necessary for tests on Windows. Due to a discrepancy between the C
# library the Windows Puppet gem is built against and what GitHub runners use (MinGW and ucrt, respectively) we can't install the
Expand Down Expand Up @@ -62,4 +69,11 @@ jobs:
bundle config set without development
${{ matrix.cfg.extra }}
bundle install --jobs 4 --retry 3
- run: bundle exec rake
- name: Rubocop
run: |
bundle exec rake rubocop
- name: Run tests
run: |
bundle exec rake spec
18 changes: 16 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@ jobs:
run: |
bundle config set without development
bundle install --jobs 4 --retry 3
- run: bundle exec rake
- name: Rubocop
run: |
bundle exec rake rubocop
- name: Run tests
run: |
bundle exec rake spec
# Starting with version 3.2, Ruby no longer bundles libffi, which is necessary for tests on Windows. Due to a discrepancy between the C
# library the Windows Puppet gem is built against and what GitHub runners use (MinGW and ucrt, respectively) we can't install the
Expand Down Expand Up @@ -60,4 +67,11 @@ jobs:
bundle config set without development
${{ matrix.cfg.extra }}
bundle install --jobs 4 --retry 3
- run: bundle exec rake
- name: Rubocop
run: |
bundle exec rake rubocop
- name: Run tests
run: |
bundle exec rake spec

0 comments on commit 536b850

Please sign in to comment.