Skip to content

Commit

Permalink
Initial CircleCI pipeline definition
Browse files Browse the repository at this point in the history
  • Loading branch information
josegomezr committed Oct 25, 2023
1 parent c8268d2 commit 4112c8d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4112c8d

Please sign in to comment.