-
-
Notifications
You must be signed in to change notification settings - Fork 46
37 lines (36 loc) · 1006 Bytes
/
tests.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
name: Tests
on:
- push
- pull_request
jobs:
full_tests:
strategy:
fail-fast: false
matrix:
os:
- windows-latest
- ubuntu-latest
- macos-latest
puppet:
- "~> 7.0"
- "~> 8.0"
include:
- puppet: "~> 7.0"
ruby: 2.7
- puppet: "~> 8.0"
ruby: 3.2
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
env:
PUPPET_VERSION: ${{ matrix.puppet }}
- name: Set long paths on Windows
if: ${{ matrix.os == 'windows-latest' }}
run: Set-ItemProperty 'HKLM:\System\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' -value 1
- env:
PUPPET_VERSION: ${{ matrix.puppet }}
run: bundle exec rake full_tests