-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 1 KB
/
test.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
name: Test
on: push
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: ./
with:
file: |
test/input.yaml
test/input2.yaml
test/*_input.yaml
vars: |
hello=world
tag=latest
- run: diff test/input.yaml test/expected.yaml
- run: diff test/input2.yaml test/expected2.yaml
- run: diff test/glob_input.yaml test/glob_expected.yaml
- run: git restore test
- name: Deprecated values input
uses: ./
with:
file: |
test/input.yaml
test/input2.yaml
test/*_input.yaml
values: |
hello=world
tag=latest
- run: diff test/input.yaml test/expected.yaml
- run: diff test/input2.yaml test/expected2.yaml
- run: diff test/glob_input.yaml test/glob_expected.yaml