Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
add code linters
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfantom committed Dec 5, 2020
1 parent 74af6fe commit b10b6dc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ executors:
- image: cimg/python:3.9

jobs:
lint:
executor: python
steps:
- checkout
- run: pip install -r test-requirements.txt
- run: ansible-lint
- run: yamllint .
- run: flake8

test:
executor: python
parameters:
Expand Down Expand Up @@ -89,6 +98,11 @@ workflows:
version: 2
molecule:
jobs:
- lint:
filters:
tags:
only: /.*/

- test:
matrix:
parameters:
Expand All @@ -101,13 +115,15 @@ workflows:
- release:
context: release
requires:
- lint
- test
filters:
branches:
only: master
- galaxy:
context: galaxy
requires:
- lint
- test
- release
filters:
Expand Down

0 comments on commit b10b6dc

Please sign in to comment.