Release version 4.0.0 #232
Workflow file for this run
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
name: Test | |
on: | |
- workflow_dispatch | |
- 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: Run unit tests | |
run: bundle exec rake parallel_spec |