mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-25 00:44:42 +00:00
Added azure-pipelines check
This commit is contained in:
22
azure-pipelines.yml
Normal file
22
azure-pipelines.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
trigger:
|
||||||
|
- master
|
||||||
|
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-18.04'
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- task: UsePythonVersion@0
|
||||||
|
inputs:
|
||||||
|
versionSpec: '3.6'
|
||||||
|
|
||||||
|
- script: python -m pip install --upgrade pip setuptools wheel
|
||||||
|
displayName: Install tools
|
||||||
|
|
||||||
|
- script: pip install pydocstyle flake8
|
||||||
|
displayName: Install dependencies
|
||||||
|
|
||||||
|
- script: flake8 .
|
||||||
|
displayName: Run flake8 checks
|
||||||
|
|
||||||
|
- script: pydocstyle .
|
||||||
|
displayName: Verify docstings
|
||||||
Reference in New Issue
Block a user