diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..5668ac4 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,30 @@ +version: 2.1 + +#1: I get an error locally running the CircleCI job regarding dubious ownership. +# To-be-debugged later. + +jobs: + perl-tidy-checks: + docker: + - image: registry.opensuse.org/devel/openqa/containers/os-autoinst_dev + entrypoint: '' + working_directory: /opt/testarea + steps: + - run: git config --global --add safe.directory /tmp/_circleci_local_build_repo #1 + - checkout + - run: GITHUB_ACTIONS=1 ./tools/tidyall --check-only --all --quiet + perl-critic-checks: + docker: + - image: registry.opensuse.org/devel/openqa/containers/os-autoinst_dev + entrypoint: '' + working_directory: /opt/testarea + steps: + - run: git config --global --add safe.directory /tmp/_circleci_local_build_repo #1 + - checkout + - run: ./tools/perlcritic --stern --verbose "::warning file=%f,line=%l,col=%c,title=%m - severity %s::%e\n" --quiet + +workflows: + perl-lint-checks: + jobs: + - perl-tidy-checks + - perl-critic-checks