Skip to content

Commit 490c785

Browse files
authored
Merge pull request #105 from puppetlabs/CONT-233-Add_version_input_gem_release
(CONT-233) - Add nightly.yml
2 parents edb2725 + 9a30ba0 commit 490c785

File tree

2 files changed

+35
-5
lines changed

2 files changed

+35
-5
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
name: "ci"
22

33
on:
4-
push:
5-
branches:
6-
- "main"
74
pull_request:
85
branches:
96
- "main"
10-
schedule:
11-
- cron: "0 0 * * *"
127
workflow_dispatch:
138

149
jobs:

.github/workflows/nightly.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: "ci"
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
workflow_dispatch:
7+
8+
jobs:
9+
10+
spec:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
ruby_version:
15+
- '2.5'
16+
- '2.7'
17+
name: "spec (ruby ${{ matrix.ruby_version }})"
18+
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main"
19+
secrets: "inherit"
20+
with:
21+
ruby_version: ${{ matrix.ruby_version }}
22+
23+
acceptance:
24+
strategy:
25+
fail-fast: false
26+
matrix:
27+
ruby_version:
28+
- '2.5'
29+
- '2.7'
30+
name: "acceptance (ruby ${{ matrix.ruby_version }})"
31+
needs: "spec"
32+
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_acceptance.yml@main"
33+
secrets: "inherit"
34+
with:
35+
ruby_version: ${{ matrix.ruby_version }}

0 commit comments

Comments
 (0)