forked from rodjek/puppet-lint
-
Notifications
You must be signed in to change notification settings - Fork 13
45 lines (40 loc) · 935 Bytes
/
ci.yml
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
name: "ci"
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
workflow_dispatch:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
jobs:
spec:
strategy:
fail-fast: false
matrix:
ruby_version:
- '2.7'
- '3.2'
- '3.3'
name: "spec (ruby ${{ matrix.ruby_version }})"
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main"
secrets: "inherit"
with:
rake_task: "spec:coverage"
ruby_version: ${{ matrix.ruby_version }}
acceptance:
strategy:
fail-fast: false
matrix:
ruby_version:
- '2.7'
- '3.2'
- '3.3'
name: "acceptance (ruby ${{ matrix.ruby_version }})"
needs: "spec"
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_acceptance.yml@main"
secrets: "inherit"
with:
ruby_version: ${{ matrix.ruby_version }}