Skip to content

Commit

Permalink
Merge pull request #698 from bastelfreak/master
Browse files Browse the repository at this point in the history
Enabling basic CI jobs on GitHub actions
  • Loading branch information
lbetz authored Feb 26, 2022
2 parents 50ef096 + 8850748 commit af30091
Show file tree
Hide file tree
Showing 2 changed files with 1,988 additions and 557 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
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
Loading

0 comments on commit af30091

Please sign in to comment.