From a4b69f8897d1232200f72a61b01f56d173fda823 Mon Sep 17 00:00:00 2001 From: ybonatakis Date: Thu, 8 Feb 2024 12:40:52 +0100 Subject: [PATCH] Enable yaml checks in CI Signed-off-by: ybonatakis --- .github/workflows/isotovideo-check-all-test-modules.yml | 7 ++++++- .gitignore | 0 .yamlignore | 0 .yamllint | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 .yamlignore create mode 120000 .yamllint diff --git a/.github/workflows/isotovideo-check-all-test-modules.yml b/.github/workflows/isotovideo-check-all-test-modules.yml index ee4ab09..044c4cc 100644 --- a/.github/workflows/isotovideo-check-all-test-modules.yml +++ b/.github/workflows/isotovideo-check-all-test-modules.yml @@ -13,4 +13,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Run isotovideo against test code, fail if any test module failed - run: podman run --rm -it -v .:/tests:Z --entrypoint '' registry.opensuse.org/devel/openqa/containers/isotovideo:qemu-x86-jq /bin/sh -c 'isotovideo qemu_no_kvm=1 casedir=/tests && jq .result testresults/result-*.json | grep -v ok && echo "Test modules failed" && exit 1' + env: + image: registry.opensuse.org/devel/openqa/containers/isotovideo:qemu-x86-jq + isotovideo: isotovideo qemu_no_kvm=1 casedir=/tests + jq_filter: jq .result testresults/result-*.json + err_msg: Test modules failed + run: docker run --rm -it -v .:/tests:Z --entrypoint '' $image /bin/sh -c '$isotovideo && $jq_filter | grep -v ok && echo "$err_msg" && exit 1' diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/.yamlignore b/.yamlignore new file mode 100644 index 0000000..e69de29 diff --git a/.yamllint b/.yamllint new file mode 120000 index 0000000..dece13a --- /dev/null +++ b/.yamllint @@ -0,0 +1 @@ +external/os-autoinst-common/.yamllint \ No newline at end of file