-
Notifications
You must be signed in to change notification settings - Fork 225
56 lines (53 loc) · 1.22 KB
/
modules.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Modules
on:
pull_request:
types: [opened, reopened, edited, synchronize]
paths:
- .github/workflows/modules.yaml
- bolt.gemspec
- Gemfile
- Puppetfile
- bolt-modules/**
- bolt_spec_spec/**
- lib/bolt/**
- modules/**
- rakelib/tests.rake
jobs:
linux:
name: Linux
runs-on: ubuntu-22.04
strategy:
matrix:
ruby: [3.1]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Update gems
run: bundle update
- name: Run module tests
run: bundle exec rake ci:modules
windows:
name: Windows
runs-on: windows-latest
strategy:
matrix:
ruby: [3.1]
env:
BOLT_WINDOWS: true
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Update gems
run: bundle update
- name: Run module tests
run: bundle exec rake ci:modules