-
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #698 from bastelfreak/master
Enabling basic CI jobs on GitHub actions
- Loading branch information
Showing
2 changed files
with
1,988 additions
and
557 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Test | ||
|
||
on: | ||
- pull_request | ||
- push | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
env: | ||
BUNDLE_WITHOUT: system_tests | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.7 | ||
bundler-cache: true | ||
- name: Run static validation for Puppet/Ruby files | ||
run: bundle exec rake validate | ||
- name: Run Ruby Linter | ||
run: bundle exec rake rubocop | ||
- name: Run Puppet Linter | ||
run: bundle exec rake lint | ||
- name: Check if REFERENCE.md is up2date | ||
run: bundle exec rake strings:validate:reference |
Oops, something went wrong.