Skip to content

Commit f354998

Browse files
committed
test: add example-config validation
1 parent c0bbc58 commit f354998

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/unit_test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ on:
99
- '**.go'
1010
- '.github/workflows/unit_test.yml'
1111
- 'scripts/unit_test.sh'
12+
- 'examples/acme.yml'
1213
pull_request:
1314
branches: [latest]
1415
paths:
1516
- '**.go'
1617
- '.github/workflows/unit_test.yml'
1718
- 'scripts/unit_test.sh'
19+
- 'examples/acme.yml'
1820
workflow_dispatch:
1921

2022
jobs:
@@ -64,4 +66,4 @@ jobs:
6466
run: bash scripts/unit_test.sh
6567

6668
- name: Testing check-mode (validating example-config)
67-
run: build/acme -path-cnf examples/acme.yml -check
69+
run: build/acme -path-cnf $(pwd)/examples/acme.yml -check

0 commit comments

Comments
 (0)