Skip to content

Adding windows servers for Facter 4.3 and 4.4 #314

Adding windows servers for Facter 4.3 and 4.4

Adding windows servers for Facter 4.3 and 4.4 #314

Workflow file for this run

name: Test
on:
pull_request: {}
push:
branches:
- master
jobs:
rubocop:
env:
BUNDLE_WITHOUT: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
bundler-cache: true
- name: Run Rubocop
run: bundle exec rake rubocop
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- '2.7'
- '3.0'
- '3.1'
- '3.2'
steps:
- uses: actions/checkout@v3
- name: Install Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
env:
BUNDLE_WITHOUT: release
- name: Run tests
run: bundle exec rake spec
- name: Build gem
run: gem build *.gemspec
tests:
needs:
- rubocop
- test
runs-on: ubuntu-latest
name: Test suite
steps:
- run: echo Test suite completed