diff --git a/.github/workflows/isotovideo-check-all-test-modules.yml b/.github/workflows/isotovideo-check-all-test-modules.yml index ee4ab09..3be139f 100644 --- a/.github/workflows/isotovideo-check-all-test-modules.yml +++ b/.github/workflows/isotovideo-check-all-test-modules.yml @@ -11,6 +11,6 @@ jobs: # which can be fixed with a more recent version of Ubuntu explicitly runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - 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' + run: podman run --rm -it -v .:/tests:Z --entrypoint '' registry.opensuse.org/devel/openqa/containers/isotovideo:qemu-x86-jq /bin/sh -c 'isotovideo --exit-status-from-test-results qemu_no_kvm=1 casedir=/tests' diff --git a/.github/workflows/yaml-checks.yml b/.github/workflows/yaml-checks.yml new file mode 100644 index 0000000..4e03ac6 --- /dev/null +++ b/.github/workflows/yaml-checks.yml @@ -0,0 +1,15 @@ +--- +name: yamllint +on: [push, pull_request] + +jobs: + yamllint: + runs-on: ubuntu-latest + container: + image: registry.opensuse.org/devel/openqa/containers/os-autoinst_dev + steps: + - uses: actions/checkout@v4 + - name: Validate yamls + run: | + git config --global --add safe.directory '*' + yamllint --strict $(git ls-files "*.yml" "*.yaml" 2> /dev/null || find . -name '*.y*ml') 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