From 4112c8d6bf8086cd4e1d2736b4ba9f326824d5b7 Mon Sep 17 00:00:00 2001 From: "Jose D. Gomez R" Date: Wed, 25 Oct 2023 17:43:59 +0200 Subject: [PATCH] Initial CircleCI pipeline definition --- .circleci/config.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .circleci/config.yml 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