mirror of
https://github.com/hadolint/hadolint-action.git
synced 2025-01-31 03:41:08 +01:00
chore: add simple integration test
This commit is contained in:
parent
1878581f63
commit
262f403978
1 changed files with 5 additions and 0 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -71,11 +71,16 @@ jobs:
|
||||||
|
|
||||||
- name: Run integration test 5 - output format
|
- name: Run integration test 5 - output format
|
||||||
# This step will never fail, but will print out rule violations.
|
# This step will never fail, but will print out rule violations.
|
||||||
|
id: hadolint5
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
dockerfile: testdata/warning.Dockerfile
|
dockerfile: testdata/warning.Dockerfile
|
||||||
config: testdata/hadolint.yaml
|
config: testdata/hadolint.yaml
|
||||||
|
|
||||||
|
- name: Run integration test 6 - verify results output parameter
|
||||||
|
# This step will never fail, but will print out the results from step5
|
||||||
|
run: echo {{ steps.hadolint5.outputs.results }}
|
||||||
|
|
||||||
#- name: Run integration test 6 - output to file
|
#- name: Run integration test 6 - output to file
|
||||||
# # This step will never fail, but will print out rule violations.
|
# # This step will never fail, but will print out rule violations.
|
||||||
# uses: ./
|
# uses: ./
|
||||||
|
|
Loading…
Add table
Reference in a new issue